[gst-devel] multipoint rtp streams?

Wim Taymans wim.taymans at gmail.com
Mon Oct 19 13:50:25 CEST 2009


On Mon, 2009-10-19 at 11:47 +0200, Dirk Griffioen wrote:
> 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.

Check out multiudpsink.

Wim

> 
> 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
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel






More information about the gstreamer-devel mailing list