org.kurento.client.Fraction fr = new org.kurento.client.Fraction(1, 30);
VideoCaps vc= new VideoCaps(VideoCodec.H264,fr);
httpEndpoint.setVideoFormat(vc);--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
MediaPipeline pipeline = kurento.createMediaPipeline();
WebRtcEndpoint webRtcEndpoint = new WebRtcEndpoint.Builder(pipeline).build();
recorderEndpoint = new RecorderEndpoint.Builder(pipeline, RECORDING_PATH + RECORDING_EXT).build();
webRtcEndpoint.connect(webRtcEndpoint);
webRtcEndpoint.connect(recorderEndpoint);
recorderEndpoint.record();
MediaPipeline pipeline = kurento.createMediaPipeline();
WebRtcEndpoint webRtcEndpoint = new WebRtcEndpoint.Builder(pipeline).build();
recorderEndpoint = new RecorderEndpoint
.Builder(pipeline, RECORDING_PATH + RECORDING_EXT)
.withMediaProfile(MediaProfileSpecType.MP4)
.build();
webRtcEndpoint.connect(webRtcEndpoint);
webRtcEndpoint.connect(recorderEndpoint);
recorderEndpoint.record();
Hi Jose,
is that a way to have a communication based on H.264? I Mean, Kurento prefers to use VP8 but I need to send a stream from PlayerEndpoint to WebRtcEndpoint in H.264.
Even if the file sent is in H.264, the codec used for the communication is VP8.
I've tried to change the file in /etc/kurento/sdp_pattern.txt putting H.264 as first but it doesn't work...mozilla firefox always choose VP8.
The delay is caused by buffering on player, not by transcoding. There is a patch on the way, but it requires a little bit more work to be ready.
Here is the patch: https://github.com/Kurento/kms-elements/pull/3
Hello Ivan,
First of all, thank you for your answer and support.
We installed the openh264-gst-plugins-bad-1.5, but we still cannot manage to do the following :
We have an IP camera with the following address : rtsp://myhostname/ipcam and we can get its stream with VLC Media Player (so we know it is working). What we would like to achieve, is to show via Kurento the camera stream without any latency. We are using this example : Kurento RTSP2WebRTC, but there is a huuuuge latency (approximately 3 sec).
We believe it is due to the H264 to VP8 transcoding. We would like a simple H264 to H264 communication, without the transcoding phase (as we do not need it). Is it currently possible, and if so, I would be very glad if you could tell me how to do this.
I hope I correctly explained myself (I might have forgot some information that you might need to help me, and if it is the case, I apologize in advance).
Best regards,
Thomas Toledo.