Examples of newMediaManager()


Examples of uk.co.caprica.vlcj.player.MediaPlayerFactory.newMediaManager()

    public static void main(String[] args) throws Exception {
        // The host and port options are REQUIRED for video-on-demand
        MediaPlayerFactory factory = new MediaPlayerFactory("--rtsp-host=127.0.0.1", "--rtsp-port=5004");

        MediaManager manager = factory.newMediaManager();

        String vodMux = "mp2t";
//        String mux = "ts";

        // Client MRL: rtsp://@127.0.0.1:5004/Movie1
View Full Code Here

Examples of uk.co.caprica.vlcj.player.MediaPlayerFactory.newMediaManager()

public class BroadcastTest extends VlcjTest {

    public static void main(String[] args) throws Exception {
        MediaPlayerFactory factory = new MediaPlayerFactory();

        MediaManager manager = factory.newMediaManager();

        // First set up all of the broadcasts...

        // Client MRL: rtp://@230.0.0.1:5004
        manager.addBroadcast("Movie1", "/movies/Movie1.iso", "#rtp{dst=230.0.0.1,port=5004,mux=ts", true, false);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.