is such a pipeline possible (image)

Michael Niemand michael.niemand at googlemail.com
Tue Feb 28 14:28:05 PST 2012


For everybody that is interested: I managed to get it working. My problem
was in my java code, not gstreamer. Once I got a working pipeline in the
command line, the java code was easy to adapt.

here is the working command line:

*GST_DEBUG_DUMP_DOT_DIR=/tmp/ gst-launch --gst-debug-level=2 gstrtpbin
name=rtpbin latency=2 sync=false udpsrc name=udpsrc0
caps="application/x-rtp, media=audio, clock-rate=8000, payload=0,
encoding-name=PCMU" port=5000 ! rtpbin.recv_rtp_sink_0 rtpbin. !
rtppcmudepay ! mulawdec ! tee name=t0 ! queue max-size-buffers=150 !
liveadder name=mix1 ! mulawenc ! rtppcmupay ! udpsink name=udpsink1
host=192.168.0.101 port=5050 t0. ! queue max-size-buffers=150 ! liveadder
name=mix2 ! mulawenc ! rtppcmupay ! udpsink name=udpsink2
host=192.168.0.112 port=5050  rtpbin. ! rtppcmudepay ! mulawdec ! tee
name=t1 ! queue max-size-buffers=150 ! liveadder name=mix0 ! mulawenc !
rtppcmupay ! udpsink name=udpsink0 host=192.168.0.101 port=5051 t1. ! queue
max-size-buffers=150 ! mix2. rtpbin. ! rtppcmudepay ! mulawdec ! tee
name=t2 ! queue max-size-buffers=150 ! mix0. t2. ! queue
max-size-buffers=150 ! mix1.*

yes, it's a hell of a pipeline, I know but it does what it should and also
puts out a dot-file that you can use to generate a PNG of the pipeline
which is very useful for debugging. I hope putting this here helps somebody
with similar problems!

regards,

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120228/2000b9fe/attachment.htm>


More information about the gstreamer-devel mailing list