first seconds of rtp transmission missing
Johannes Bauer
hannes_bauer at aon.at
Wed Apr 15 08:38:00 PDT 2015
Hello again!
Thanks Sebastian, your reply with the caps did the deal for me.
I can send rtp data using payload type 11 now.
However I still have one problem. The first few seconds of the wav file im sending are missing.
I can reconstruct that behaviour with gst.launch by using following pipeline:
sender:
gst-launch-1.0.exe rtpbin name=rtpbin filesrc location=C:\\test.wav ! decodebin ! audioresample ! audioconvert !
rtpL16pay ! application/x-rtp,clock-rate=44100,payload=11 ! rtpbin.send_rtp_sink_1 rtpbin.send_rtp_src_1 !
udpsink host=192.168.90.157 port=4000 rtpbin.send_rtcp_src_1 ! udpsink host=192.168.90.157 port=4001 udpsrc port=8001 ! rtpbin.recv_rtcp_sink_1
receiver:
gst-launch-1.0.exe -v rtpbin name=rtpbin udpsrc port=4000 caps=application/x-rtp,clock-rate=(int)44100,encoding-name=(string)L16,media=(string)audio,channels=(int)1,payload=11 !
rtpbin.recv_rtp_sink_0 rtpbin. ! rtpL16depay ! audioconvert ! autoaudiosink udpsrc port=4001 ! rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink port=8001 host=192.168.90.157
If I remove the rtcp channels from the sender everything works fine, is there a problem with rtpbin or am I doing something wrong?
sender:
gst-launch-1.0.exe rtpbin name=rtpbin filesrc location=C:\\test.wav ! decodebin ! audioresample ! audioconvert !
rtpL16pay ! application/x-rtp,clock-rate=44100,payload=11 ! rtpbin.send_rtp_sink_1 rtpbin.send_rtp_src_1 !
udpsink host=192.168.90.157 port=4000
I also tried it with standard pt and clock-rate=8000 and also with different format rtppcmapay, with no different output.
Please let me know if I am doing anything wrong.
Kind regards
JB
More information about the gstreamer-devel
mailing list