Examples of newRecorderEndpoint()


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

      sessionId = contentSession.getSessionId();
      contentSession.releaseOnTerminate(firstWebRtcEndpoint);
      firstWebRtcEndpoint.connect(firstWebRtcEndpoint);

      if (contentId != null && contentId.equalsIgnoreCase("record")) {
        RecorderEndpoint recorderEndPoint = mp.newRecorderEndpoint(
            "file:///tmp/master").build();
        contentSession.setAttribute("recorder", recorderEndPoint);
        firstWebRtcEndpoint.connect(recorderEndPoint);
      }
View Full Code Here

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

      contentSession.releaseOnTerminate(newWebRtcEndpoint);
      newWebRtcEndpoint.connect(firstWebRtcEndpoint);
      firstWebRtcEndpoint.connect(newWebRtcEndpoint);

      if (contentId != null && contentId.equalsIgnoreCase("record")) {
        RecorderEndpoint recorderEndPoint = mp.newRecorderEndpoint(
            "file:///tmp/peer").build();
        contentSession.setAttribute("recorder", recorderEndPoint);
        newWebRtcEndpoint.connect(recorderEndPoint);
      }
View Full Code Here

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

        + recorder.getURL();

    MediaPipeline mp = contentSession.getMediaPipelineFactory().create();
    contentSession.releaseOnTerminate(mp);

    RecorderEndpoint recorderEndPoint = mp.newRecorderEndpoint(mediaUrl)
        .build();

    JackVaderFilter filter = mp.newJackVaderFilter().build();
    filter.connect(recorderEndPoint);
    contentSession.setAttribute("recorder", recorderEndPoint);
View Full Code Here

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

    MediaProfileSpecType mediaProfileSpecType = MediaProfileSpecType.WEBM;
    final String contentId = contentSession.getContentId();
    if (contentId != null && contentId.equalsIgnoreCase("mp4")) {
      mediaProfileSpecType = MediaProfileSpecType.MP4;
    }
    recorderEndPoint = mp.newRecorderEndpoint(TARGET)
        .withMediaProfile(mediaProfileSpecType).build();
    WebRtcEndpoint webRtcEndpoint = mp.newWebRtcEndpoint().build();

    webRtcEndpoint.connect(webRtcEndpoint);
    webRtcEndpoint.connect(recorderEndPoint);
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.