Examples of newHttpGetEndpoint()


Examples of com.kurento.kmf.media.MediaPipeline.newHttpGetEndpoint()

        throws Exception {
      MediaPipeline mp = session.getMediaPipelineFactory().create();
      session.releaseOnTerminate(mp);
      playerEP = mp.newPlayerEndpoint(
          "http://files.kurento.org/video/small.webm").build();
      HttpGetEndpoint httpEP = mp.newHttpGetEndpoint().terminateOnEOS()
          .build();
      playerEP.connect(httpEP);
      session.start(httpEP);
    }
View Full Code Here

Examples of com.kurento.kmf.media.MediaPipeline.newHttpGetEndpoint()

    MediaPipeline mp = pipelineFactory.create();
    WebRtcEndpoint webRtcEP1 = mp.newWebRtcEndpoint().build();
    WebRtcEndpoint webRtcEP2 = mp.newWebRtcEndpoint().build();
    WebRtcEndpoint webRtcEP3 = mp.newWebRtcEndpoint().build();
    WebRtcEndpoint webRtcEP4 = mp.newWebRtcEndpoint().build();
    HttpGetEndpoint httpEP = mp.newHttpGetEndpoint().terminateOnEOS()
        .build();

    Composite composite = mp.newComposite().build();
    HubPort hubPort1 = composite.newHubPort().build();
    HubPort hubPort2 = composite.newHubPort().build();
View Full Code Here

Examples of com.kurento.kmf.media.MediaPipeline.newHttpGetEndpoint()

    public void onContentRequest(HttpPlayerSession session)
        throws Exception {
      MediaPipeline mp = session.getMediaPipelineFactory().create();
      playerEP = mp.newPlayerEndpoint(
          "http://files.kurento.org/video/10sec/red.webm").build();
      HttpGetEndpoint httpEP = mp.newHttpGetEndpoint().terminateOnEOS()
          .build();
      playerEP.connect(httpEP);
      session.start(httpEP);

      terminateLatch = new CountDownLatch(1);
View Full Code Here

Examples of com.kurento.kmf.media.MediaPipeline.newHttpGetEndpoint()

    getLogger().info("Recovering media pipeline");
    MediaPipeline mediaPiplePipeline = playerEndpoint.getMediaPipeline();
    getLogger().info("Creating HttpEndpoint ...");

    HttpEndpoint httpEndpoint = mediaPiplePipeline.newHttpGetEndpoint()
        .terminateOnEOS().build();
    releaseOnTerminate(httpEndpoint);
    playerEndpoint.connect(httpEndpoint);
    return httpEndpoint;
  }
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.