Package com.kurento.kmf.media

Examples of com.kurento.kmf.media.MediaPipeline


    }
  }

  protected PlayerEndpoint buildUriEndpoint(String contentPath) {
    getLogger().info("Creating media pipeline ...");
    MediaPipeline mediaPipeline = mediaPipelineFactory.create();
    releaseOnTerminate(mediaPipeline);
    getLogger().info("Creating PlayerEndpoint ...");
    PlayerEndpoint playerEndpoint = mediaPipeline.newPlayerEndpoint(
        contentPath).build();
    return playerEndpoint;
  }
View Full Code Here


   */
  protected HttpEndpoint buildAndConnectHttpEndpoint(
      PlayerEndpoint playerEndpoint) {

    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

Related Classes of com.kurento.kmf.media.MediaPipeline

Copyright © 2018 www.massapicom. 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.