[gst-devel] multipoint rtp streams?

Dirk Griffioen dirk.griffioen at barcelonamedia.org
Mon Oct 19 11:47:08 CEST 2009


Hi All,

I would like to know if it is possible to stream 1 source to multiple 
destinations with the rtp pipeline by adding more udpsinks.

For example I tried:

REMOTE_HOST1=127.0.0.1
REMOTE_HOST2=192.168.0.1

gst-launch -v gstrtpbin name=rtpbin \
    jackaudiosrc connect=none ! audio/x-raw-float, channels=8 ! \
    vorbisenc quality=0.3 ! rtpvorbispay ! \
\
rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink port=5000 
host=$REMOTE_HOST1 ts-offset=0  \
rtpbin.send_rtcp_src_0 ! udpsink port=5001 host=$REMOTE_HOST1 sync=false 
async=false  \
udpsrc port=5002 ! rtpbin.recv_rtcp_sink_0 \
\
rtpbin.send_rtp_sink_1 rtpbin.send_rtp_src_1 ! udpsink port=5003 
host=$REMOTE_HOST2 ts-offset=0  \
rtpbin.send_rtcp_src_1 ! udpsink port=5004 host=$REMOTE_HOST2 sync=false 
async=false  \
udpsrc port=5005 ! rtpbin.recv_rtcp_sink_1

But this gives me the following after some time:

ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal 
data flow error.
Additional debug info:
gstbasesrc.c(2378): gst_base_src_loop (): 
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
streaming task paused, reason not-linked (-1)

Then I added a queue so both udpsinks could read from that, but I cant 
seem to get the syntax right.

Hints or pointers are very much appreciated. Thanks in advance!

Best, Dirk







More information about the gstreamer-devel mailing list