Examples of newPlayerEndpoint()


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

      getLogger().info("mediaUrl {}", mediaUrl);

      MediaPipeline mp = contentSession.getMediaPipelineFactory()
          .create();
      contentSession.releaseOnTerminate(mp);
      PlayerEndpoint playerEndpoint = mp.newPlayerEndpoint(mediaUrl)
          .build();
      JackVaderFilter filter = mp.newJackVaderFilter().build();
      playerEndpoint.connect(filter);
      contentSession.setAttribute("player", playerEndpoint);
      HttpGetEndpoint httpEndpoint = mp.newHttpGetEndpoint()
View Full Code Here

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

      throws Exception {
    MediaPipelineFactory mpf = session.getMediaPipelineFactory();
    MediaPipeline mp = mpf.create();
    session.releaseOnTerminate(mp);

    PlayerEndpoint playerEndpoint = mp.newPlayerEndpoint(

    VideoURLs.map.get("zbar")).build();
    ZBarFilter filter = mp.newZBarFilter().build();
    playerEndpoint.connect(filter);
View Full Code Here

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

  public void onContentRequest(HttpPlayerSession session) throws Exception {
    MediaPipelineFactory mpf = session.getMediaPipelineFactory();
    MediaPipeline mp = mpf.create();
    session.releaseOnTerminate(mp);

    PlayerEndpoint playerEndpoint = mp.newPlayerEndpoint(
        VideoURLs.map.get("jack")).build();
    JackVaderFilter filter = mp.newJackVaderFilter().build();
    playerEndpoint.connect(filter);
    session.setAttribute("player", playerEndpoint);
    HttpGetEndpoint httpEP = mp.newHttpGetEndpoint().terminateOnEOS()
View Full Code Here

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

  @Test
  public void testPlayerCrowdDetector() throws Exception {
    // Media Pipeline
    MediaPipeline mp = pipelineFactory.create();
    PlayerEndpoint playerEP = mp.newPlayerEndpoint(
        "http://files.kurento.org/video/crowd.mp4").build();
    HttpGetEndpoint httpEP = mp.newHttpGetEndpoint().terminateOnEOS()
        .build();

    List<RegionOfInterest> rois = newArrayList();
View Full Code Here

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

      }

      MediaPipelineFactory mpf = session.getMediaPipelineFactory();
      MediaPipeline mp = mpf.create();
      session.releaseOnTerminate(mp);
      PlayerEndpoint playerEndpoint = mp.newPlayerEndpoint(url).build();
      HttpGetEndpoint httpEP = mp.newHttpGetEndpoint().terminateOnEOS()
          .build();
      if (contentId != null && contentId.equalsIgnoreCase("jack")) {
        // Jack Vader Filter
        JackVaderFilter filter = mp.newJackVaderFilter().build();
View Full Code Here

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

  }

  public void doTest(Browser browserType) throws Exception {
    // Media Pipeline #1
    MediaPipeline mp = pipelineFactory.create();
    PlayerEndpoint playerEP = mp.newPlayerEndpoint(
        "http://files.kurento.org/video/fiwarecut.mp4").build();
    HttpGetEndpoint httpEP = mp.newHttpGetEndpoint().terminateOnEOS()
        .build();
    RecorderEndpoint recorderEP = mp.newRecorderEndpoint(
        FILE_SCHEMA + getDefaultFileForRecording()).build();
View Full Code Here

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

    // Test execution #1. Play and record
    launchBrowser(browserType, httpEP, playerEP, recorderEP);

    // Media Pipeline #2
    PlayerEndpoint playerEP2 = mp.newPlayerEndpoint(
        FILE_SCHEMA + getDefaultFileForRecording()).build();
    HttpGetEndpoint httpEP2 = mp.newHttpGetEndpoint().terminateOnEOS()
        .build();
    playerEP2.connect(httpEP2);
View Full Code Here

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

  }

  public void doTest(Browser browserType) throws Exception {
    // Media Pipeline #1
    MediaPipeline mp = pipelineFactory.create();
    PlayerEndpoint playerRed = mp.newPlayerEndpoint(
        "http://files.kurento.org/video/10sec/red.webm").build();
    PlayerEndpoint playerGreen = mp.newPlayerEndpoint(
        "http://files.kurento.org/video/10sec/green.webm").build();
    PlayerEndpoint playerBlue = mp.newPlayerEndpoint(
        "http://files.kurento.org/video/10sec/blue.webm").build();
View Full Code Here

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

  public void doTest(Browser browserType) throws Exception {
    // Media Pipeline #1
    MediaPipeline mp = pipelineFactory.create();
    PlayerEndpoint playerRed = mp.newPlayerEndpoint(
        "http://files.kurento.org/video/10sec/red.webm").build();
    PlayerEndpoint playerGreen = mp.newPlayerEndpoint(
        "http://files.kurento.org/video/10sec/green.webm").build();
    PlayerEndpoint playerBlue = mp.newPlayerEndpoint(
        "http://files.kurento.org/video/10sec/blue.webm").build();
    HttpGetEndpoint httpEP = mp.newHttpGetEndpoint().terminateOnEOS()
        .build();
View Full Code Here

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

    MediaPipeline mp = pipelineFactory.create();
    PlayerEndpoint playerRed = mp.newPlayerEndpoint(
        "http://files.kurento.org/video/10sec/red.webm").build();
    PlayerEndpoint playerGreen = mp.newPlayerEndpoint(
        "http://files.kurento.org/video/10sec/green.webm").build();
    PlayerEndpoint playerBlue = mp.newPlayerEndpoint(
        "http://files.kurento.org/video/10sec/blue.webm").build();
    HttpGetEndpoint httpEP = mp.newHttpGetEndpoint().terminateOnEOS()
        .build();
    RecorderEndpoint recorderEP = mp.newRecorderEndpoint(
        FILE_SCHEMA + getDefaultFileForRecording()).build();
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.