Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6896121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:59:42+00:00 2026-05-27T06:59:42+00:00

this is part of a project I am working on. I have two desktop

  • 0

this is part of a project I am working on. I have two desktop java application , one runs on the server (which has real IP), and the other is the client. I just want to stream a live video from a webcam connected to the server application , and play it on the client application. I want to do this streaming from more than one camera.

I have been looking searching for days between Xuggler, JMF, Red5, VLCj. I just can’t figure from where I should start as I am new to dealing with media in programming.

Any ideas from where I should start with this ?

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:59:43+00:00Added an answer on May 27, 2026 at 6:59 am

    I suggest you to go with VLCJ, because in addition to live video streaming, you get all features of VLC media player available to your application. Also, it is available for Linux,Windows, and Mac. If you can live stream your webcam with VLC, then you can do the same with VLCJ.

    Refer VLCJ wiki page for details on how to use it. They provided many examples in the wiki. Here is an example of Http Streaming using VLCJ. Copied from VLCJ examples.

    /*
     * This file is part of VLCJ.
     *
     * VLCJ is free software: you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation, either version 3 of the License, or
     * (at your option) any later version.
     *
     * VLCJ is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     * GNU General Public License for more details.
     *
     * You should have received a copy of the GNU General Public License
     * along with VLCJ.  If not, see <http://www.gnu.org/licenses/>.
     * 
     * Copyright 2009, 2010, 2011 Caprica Software Limited.
     */
    
    package uk.co.caprica.vlcj.test.streaming;
    
    import uk.co.caprica.vlcj.player.MediaPlayerFactory;
    import uk.co.caprica.vlcj.player.headless.HeadlessMediaPlayer;
    import uk.co.caprica.vlcj.test.VlcjTest;
    
    /**
     * An example of how to stream a media file over HTTP.
     * <p>
     * The client specifies an MRL of <code>http://127.0.0.1:5555</code>
     */
    public class StreamHttp extends VlcjTest {
    
      public static void main(String[] args) throws Exception {
        if(args.length != 1) {
          System.out.println("Specify a single MRL to stream");
          System.exit(1);
        }
    
        String media = args[0];
        String options = formatHttpStream("127.0.0.1", 5555);
    
        System.out.println("Streaming '" + media + "' to '" + options + "'");
    
        MediaPlayerFactory mediaPlayerFactory = new MediaPlayerFactory(args);
        HeadlessMediaPlayer mediaPlayer = mediaPlayerFactory.newHeadlessMediaPlayer();
        mediaPlayer.playMedia(media, options);
    
        // Don't exit
        Thread.currentThread().join();
      }
    
      private static String formatHttpStream(String serverAddress, int serverPort) {
        StringBuilder sb = new StringBuilder(60);
        sb.append(":sout=#duplicate{dst=std{access=http,mux=ts,");
        sb.append("dst=");
        sb.append(serverAddress);
        sb.append(':');
        sb.append(serverPort);
        sb.append("}}");
        return sb.toString();
      }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a java project and I have two class (for this topic,
I have this part of script from my GAE application which uses webapp2, which
I'm working on a project and I didn't get this part: use two threads
This is a two-part question. I'm using jQuery for a project and wanting to
This part of an app that I am working on, I have the following
I'm currently working on a project where we have a large data warehouse which
For the project I'm working on, we have a desktop program that contacts an
Two part question: I'm working on a school project using the game of life
As part of a project I'm working on we have a requirement to support
So I've been working on this for the better part of two hours and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.