RTP/RTCP mux using rtpfunnel

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

RTP/RTCP mux using rtpfunnel

Ralf Globisch
Hi,

Just wanting to find out why RTP/RTCP mux doesn't seem to be working for me (on gstreamer 1.16) Ubuntu.

it should be possible to have a gstreamer pipeline like

gst-launch-1.0 -v rtpbin name=rtpbin videotestsrc ! video/x-raw,width=1920,height=1080,framerate=30/1 ! x264enc tune=zerolatency ! video/x-h264, profile=baseline ! rtph264pay ! rtpbin.send_rtp_sink_0  rtpbin.send_rtp_src_0 ! rtpfunnel name=f ! udpsink host=$RECEIVER_IP port=5000    rtpbin.send_rtcp_src_0 ! f.

To multiplex RTP and RTCP over the same port. When I sniff the traffic I only see RTP packets and no RTCP. I would expect to see RTCP SRs being sent out. The stats on the console does seem to show some of the info from the SR:

/GstPipeline:pipeline0/GstRtpBin:rtpbin/GstRtpSession:rtpsession0: stats = application/x-rtp-session-stats, rtx-drop-count=(uint)0, sent-nack-count=(uint)0, recv-nack-count=(uint)0, source-stats=(GValueArray)< "application/x-rtp-source-stats\,\ ssrc\=\(uint\)3379211677\,\ internal\=\(boolean\)true\,\ validated\=\(boolean\)true\,\ received-bye\=\(boolean\)false\,\ is-csrc\=\(boolean\)false\,\ is-sender\=\(boolean\)true\,\ seqnum-base\=\(int\)6421\,\ clock-rate\=\(int\)90000\,\ octets-sent\=\(guint64\)12811443\,\ packets-sent\=\(guint64\)21716\,\ octets-received\=\(guint64\)12811443\,\ packets-received\=\(guint64\)21716\,\ bitrate\=\(guint64\)2055791\,\ packets-lost\=\(int\)-21716\,\ jitter\=\(uint\)0\,\ sent-pli-count\=\(uint\)0\,\ recv-pli-count\=\(uint\)0\,\ sent-fir-count\=\(uint\)0\,\ recv-fir-count\=\(uint\)0\,\ sent-nack-count\=\(uint\)0\,\ recv-nack-count\=\(uint\)0\,\ have-sr\=\(boolean\)true\,\ sr-ntptime\=\(guint64\)16339221396112252153\,\ sr-rtptime\=\(uint\)1355353937\,\ sr-octet-count\=\(uint\)12049363\,\ sr-packet-count\=\(uint\)20436\;" >, rtx-count=(uint)0, recv-rtx-req-count=(uint)0, sent-rtx-req-count=(uint)0;

Does anyone know if this is supposed to work or is maybe there something wrong in the command line?

Thanks,
Ralf


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel