Package com.kurento.kmf.media

Examples of com.kurento.kmf.media.GStreamerFilter.connect()


    mixerPort2 = mixer.newHubPort().build();
    mixerPort3 = mixer.newHubPort().build();

    player2.connect(bn);
    player1.connect(mixerPort1);
    bn.connect(mixerPort2);

    playersList = new ArrayList<PlayerConnection>();

    PlayerConnection conection1 = new PlayerConnection(player1, mixerPort1);
    PlayerConnection conection2 = new PlayerConnection(player2, mixerPort2);
View Full Code Here


      // Finally, a B&N filter is connected in one of the WebRTC's
      GStreamerFilter bn = mp.newGStreamerFilter(
          "videobalance saturation=0.0").build();
      webRtcEP1.connect(bn);
      bn.connect(hubPort1);
      Thread.sleep(5000);
      Assert.assertTrue(
          "When connecting the filter, the upper left part of the video must be gray",
          browserPlayer.color(new Color(75, 75, 75), 25, 0, 0));
    }
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.