RTP/RTCP mux using rtpfunnel

Ralf Globisch ralf.globisch at gmail.com
Tue Jul 21 07:53:00 UTC 2020


Hi,

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

According to
http://gstreamer-devel.966125.n4.nabble.com/RTP-RTCP-mux-RFC5761-how-td4690133.html
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200721/d68b0e30/attachment.htm>


More information about the gstreamer-devel mailing list