Examples of newHttpGetEndpoint()


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

        "http://files.kurento.org/video/fiwarecut.webm").build();

    JackVaderFilter filter = mp.newJackVaderFilter().build();
    playerEndPoint.connect(filter);
    session.setAttribute("player", playerEndPoint);
    HttpGetEndpoint httpEndpoint = mp.newHttpGetEndpoint().terminateOnEOS()
        .build();
    filter.connect(httpEndpoint);
    session.start(httpEndpoint);

  }
View Full Code Here

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

    MediaPipelineFactory mpf = contentSession.getMediaPipelineFactory();
    final MediaPipeline mp = mpf.create();
    contentSession.releaseOnTerminate(mp);
    PlayerEndpoint playerEndpoint = mp.newPlayerEndpoint(
        "http://files.kurento.org/video/sintel.webm").build();
    HttpGetEndpoint httpEndpoint = mp.newHttpGetEndpoint().terminateOnEOS()
        .build();
    playerEndpoint.connect(httpEndpoint);
    contentSession.setAttribute("player", playerEndpoint);
    contentSession.start(httpEndpoint);
View Full Code Here

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

    MediaPipeline mp = mpf.create();
    session.releaseOnTerminate(mp);
    PlayerEndpoint playerEndpoint = mp.newPlayerEndpoint(
        "http://files.kurento.org/video/fiwarecut.webm").build();
    session.setAttribute("player", playerEndpoint);
    HttpGetEndpoint httpEndpoint = mp.newHttpGetEndpoint().terminateOnEOS()
        .build();
    playerEndpoint.connect(httpEndpoint);
    session.start(httpEndpoint);
  }
View Full Code Here

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

    }
    if (mediaElement == null) {
      session.terminate(400, "WebRTC source is not running");
    } else {
      MediaPipeline mp = mediaElement.getMediaPipeline();
      HttpGetEndpoint httpEndpoint = mp.newHttpGetEndpoint()
          .terminateOnEOS().build();
      mediaElement.connect(httpEndpoint);
      session.start(httpEndpoint);
    }
  }
View Full Code Here

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

        session.releaseOnTerminate(mp);
        PlayerEndpoint playerEndPoint = mp.newPlayerEndpoint(url)
            .build();
        JackVaderFilter filter = mp.newJackVaderFilter().build();
        playerEndPoint.connect(filter);
        HttpGetEndpoint httpEndpoint = mp.newHttpGetEndpoint()
            .terminateOnEOS().build();
        filter.connect(httpEndpoint);
        session.setAttribute("player", playerEndPoint);
        session.start(httpEndpoint);
      } else if (contentId != null && contentId.equalsIgnoreCase("zbar")) {
View Full Code Here

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

        MediaPipeline mp = mpf.create();
        PlayerEndpoint player = mp.newPlayerEndpoint(url).build();
        session.setAttribute("player", player);
        ZBarFilter zBarFilter = mp.newZBarFilter().build();
        player.connect(zBarFilter);
        HttpGetEndpoint httpEndpoint = mp.newHttpGetEndpoint()
            .terminateOnEOS().build();
        zBarFilter.connect(httpEndpoint);
        session.start(httpEndpoint);
        session.setAttribute("eventValue", "");
        zBarFilter
View Full Code Here

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

    // Media Elements: Player Endpoint, HTTP Endpoint
    PlayerEndpoint playerEndpoint = mp.newPlayerEndpoint(
        "file:///tmp/recording").build();
    contentSession.setAttribute("player", playerEndpoint);
    HttpGetEndpoint httpEndpoint = mp.newHttpGetEndpoint().terminateOnEOS()
        .build();

    // Connections
    playerEndpoint.connect(httpEndpoint);
View Full Code Here

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

    MediaPipeline pipeline = mpf.create();

    PlayerEndpoint player = pipeline.newPlayerEndpoint(
        "http://files.kurento.org/video/small.webm").build();

    HttpGetEndpoint httpGetEndpoint = pipeline.newHttpGetEndpoint().build();

    player.connect(httpGetEndpoint);

    String url = httpGetEndpoint.getUrl();
View Full Code Here

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

    public void onContentRequest(final HttpPlayerSession session)
        throws Exception {
      MediaPipeline mp = session.getMediaPipelineFactory().create();
      playerEP = mp.newPlayerEndpoint(
          "http://files.kurento.org/video/barcodes.webm").build();
      HttpGetEndpoint httpEP = mp.newHttpGetEndpoint().terminateOnEOS()
          .build();
      ZBarFilter zBarFilter = mp.newZBarFilter().build();
      playerEP.connect(zBarFilter);
      zBarFilter.connect(httpEP);
      session.start(httpEP);
View Full Code Here

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);

      terminateLatch = new CountDownLatch(1);
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.