Hello Kurento team ,
My goal is to build a WebRTC to RTP player .
I have done the following created a WebRTC endpoint and connected it to RTP endpoint via media pipelines .
I am also making the RTP SDP offer and answering the same .
String requestRTPsdp = rtpEndpoint.generateOffer();
rtpEndpoint.processAnswer(requestRTPsdp);
I write the requestRTPsdp to a file and obtain a RTP connector endpoint with Application/SDP . Its constituents are like this :
v=0
o=- 3631681524 3631681524 IN IP4 192.168.0.119
s=Kurento Media Server
c=IN IP4 192.168.0.119
t=0 0
m=audio 52524 RTP/AVP 98 99 0
a=rtpmap:98 OPUS/48000/2
a=rtpmap:99 AMR/8000/1
a=rtpmap:0 PCMU/8000
a=ssrc:300865787 cname:user3163014525@host-e92e492
m=video 40908 RTP/AVP 96 97 100 101
a=rtpmap:96 H263-1998/90000
a=rtpmap:97 VP8/90000
a=rtpmap:100 MP4V-ES/90000
a=rtpmap:101 H264/90000
a=ssrc:3876720371 cname:user3163014525@host-e92e492
However as I try to play form this SDP file , it plays okay with gst playbin ( 10 secs without audio ) but refuses to be played by VLC , ffplay and even wowza .
The error generated with
ffmpeg -i test.sdp -vcodec copy -acodec copy -f mpegts output-file.ts
or
are
Could not find codec parameter for stream1 ( video:h263, none )
Other errors types are , Could not write header for output file <incorrect codec parameter >
output file is empty nothing was encoded



Please share how should I stream the inputs from webrtc endpoint to RTP players .