<div dir="ltr">Hi Tim,<br><br>I'm using fdsink because I'm feeding the output to another program.<br><br>Using rtpjitterbuffer seems to have helped a lot.<br><br>Testing server-alsasrc-PCMA.sh and client-PCMA.sh seems to reduce 'noise' a lot (currently using alsasrc with the input OFF and I hear a little crackling.. a lot less than using my current method). The problem is the receiver doesn't survive a producer restart, in our setup the producer starts/stops at any time<br><br>Is this solvable?<br><br><br>Also, what's with the crackling? Running<br><br>>gst-launch-1.0 alsasrc ! audiorate ! wavenc ! filesink location=foo.wav<br><br>I hear a little hissing in the background, but that's it, no crackling at all.<br><br>David<br><br>On 4 November 2016 at 15:04, Tim Müller <<a href="mailto:tim@centricular.com">tim@centricular.com</a>> wrote:<br>><br>> On Fri, 2016-11-04 at 14:28 -0300, David Ventura wrote:<br>><br>> Hi,<br>><br>> gst-launch-1.0 -q udpsrc port=5001 caps="application/x-rtp" do-timestamp=true ! rtppcmudepay ! mulawdec <br>> ! audioconvert ! audioresample ! audio/x-raw,format=S16LE,layout=interleaved, rate=44100, channels=2 ! fdsink fd=1 sync=true <br>><br>><br>> fdsink? I think you also want an rtpjitterbuffer after udpsrc (set latency property, default latency is quite high), and then perhaps try <br>><br>> .. ! audiorate ! wavenc ! filesink location=foo.wav<br>><br>> for starters.<br>><br>> What's happening? Is this the recommended way to do audio over udp?<br>> I have gstreamer 1.4.4 on the producer and 1.9.90 on the consumer.<br>><br>><br>> <a href="https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/examples/rtp">https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/examples/rtp</a><br>><br>> has some examples for various things.<br>><br>> Cheers<br>> -Tim<br>><br>> --<br>> Tim Müller, Centricular Ltd - <a href="http://www.centricular.com">http://www.centricular.com</a><br>><br>> _______________________________________________<br>> gstreamer-devel mailing list<br>> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>><br><br><br><br>--<br>Stack is the new term for "I have no idea what I'm actually using".<br><div class="gmail_extra">
</div></div>