gst-launch locked with 2 source 2 sink

Aurele Traynard aurele.traynard at gmail.com
Thu Sep 24 09:00:48 PDT 2015


Hi everyone


I'm facing an issue with a gst-launch configuration :
filesrc -> rtppcmapay -> udpsink
udpsrc -> rtppcmadepay -> filesink

nothing is received on the udpsrc at first

see commandline :
gst-launch-1.0 filesrc location=/dev/pcm0.2 blocksize=256 do-timestamp=true
num-buffers=100000 ! "audio/x-alaw,rate=8000,channels=1" ! rtppcmapay !
udpsink async=true host=192.168.48.45 port=10800  udpsrc buffer-size=4096
socket=NULL port=10801 caps="application/x-rtp" ! rtppcmadepay ! filesink
"buffer-mode=1" "location=/dev/pcm0.1"

after some read (I wrote the driver so I can see how much data is available
and how much was read) gstreamer locks himself, nothing is read anymore...
If I send some data to the udp socket everything start to be normal even if
I stop to send data to the udp port 10801 ... So my understanding is that
the udpsrc locks my pipeline, but I can't understand why... or maybe the
udpsrc unlock my pipeline...

If I launch only the following everything is working :
filesrc -> rtppcmapay -> udpsink
gst-launch-1.0 filesrc location=/dev/pcm0.2 blocksize=256 do-timestamp=true
num-buffers=100000 ! "audio/x-alaw,rate=8000,channels=1" ! rtppcmapay !
udpsink async=true bind-port=10800 host=192.168.48.45 port=10800


The goal is to have a 2 way communication between 2 device, and starting
gstreamer at the same time on both device it seems we loose enough data
during the startup phase to lock the stream...

If anyone has an idea I will be really happy to test ;)
Thanks for any help or question
Aurele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150924/0b1b97ba/attachment.html>


More information about the gstreamer-devel mailing list