RTP/RTCP mux (RFC5761) how ?

Olivier CrĂȘte olivier.crete at collabora.com
Mon Apr 1 15:56:43 UTC 2019


Hi,

See below, I believe those should work

On Mon, 2019-04-01 at 00:47 -0500, Ingemar Johansson wrote:
> Hi
> 
> I have now tried in various ways to get RTP/RTCP mux over the same port but
> still no luck, can you help and tell how to modify the pipelines below so
> that both RTP and RTCP are sent over port 5000?
> 
> #sender
> gst-launch-1.0 rtpbin name=rtpbin ! videotestsrc !
> video/x-raw,width=1920,height=1080,framerate=30/1 ! x264enc  ! rtph264pay !
> rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink host=$RECEIVER_IP
> port=5000 rtpbin.send_rtcp_src_0 ! udpsink host=$RECEIVER_IP port=5001
> udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0

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.

> 
> #receiver
> gst-launch-1.0 rtpbin name=rtpbin udpsrc port=5000 !
> application/x-rtp,media=video,clock-rate=90000,encoding-name=H264 !
> rtpbin.recv_rtp_sink_0 rtpbin. ! rtph264depay ! avdec_h264 ! videoconvert !
> xvimagesink udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 
> rtpbin.send_rtcp_src_0 ! udpsink port=5001 host=$SENDER_IP

gst-launch-1.0 rtpbin name=rtpbin udpsrc port=5000 ! application/x-
rtp,media=video,clock-rate=90000,encoding-name=H264 !
rtpbin.recv_rtp_sink_0 rtpbin. ! rtph264depay ! avdec_h264 !
videoconvert ! xvimagesink rtpbin.send_rtcp_src_0 ! udpsink port=6000
host=$SENDER_IP async=0

> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-- 
Olivier CrĂȘte
olivier.crete at collabora.com



More information about the gstreamer-devel mailing list