RTP Mux Help

Jonathan Kelley jkelleyrtp at gmail.com
Wed Jul 31 00:41:32 UTC 2019


Hello,

I am trying to get RTP multiplexing working and having some issues - the
examples in the docs don't really help.

I am trying to mux together two RTP streams and have problems with decoding
just two videotestsrc's. My launch code (seems to work):

gst-launch-1.0 rtpmux name=mux ! udpsink host=127.0.0.1 port=9510
    videotestsrc is-live=1 ! vtenc_h264 ! rtph264pay ! mux.sink_0
    videotestsrc is-live=1 pattern=18 ! vtenc_h264 ! rtph264pay ! mux.sink_1

And my receiver code (fails when the launch code starts):

gst-launch-1.0 udpsrc port=9510 caps="application/x-rtp" ! rtpptdemux
name=demux
    demux.src_0 ! "application/x-rtp, clock-rate=(int)90000,
payload=(int)96" ! rtph264depay ! avdec_h264 ! glimagesink
    demux.src_1 ! "application/x-rtp, clock-rate=(int)90000,
payload=(int)96" ! rtph264depay ! avdec_h264 ! glimagesink

Unfortunately it fails immediate giving me an Internal data steam error and
a reason not-linked (-1) error. Any suggestions?

Thanks,

Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190730/0bd1ee20/attachment-0001.html>


More information about the gstreamer-devel mailing list