<div dir="ltr">Hi. I'm trying to get audio (voice only) over udp on local network.<div><br></div><div>First: Listening to the mic directly through alsa gives me great quality; there's no overdrive when shouting/talking WAY too close to the mic.</div><div><br></div><div>Now, when using the following pipeline the audio is .. ok. The quality is not 'good'. It's good enough, but there's a clear quality drop from directly listening to the mic. There's overdrive when there's shouting, etc.</div><div><br></div><div><br></div><div>Producer:</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">gst-launch-1.0  </span></span><span style="color:rgb(0,0,0);font-family:monospace">alsasrc slave-method=resample do-timestamp=true</span><span style="color:rgb(0,0,0);font-family:monospace"> ! audioconvert ! audioresample ! mulaw</span><font color="#000000" face="monospace">enc ! </font><span style="color:rgb(0,0,0);font-family:monospace">rtppcmupay </span><span style="color:rgb(0,0,0);font-family:monospace">! multiudpsink clients=<a href="http://192.168.2.120:5001">192.168.2.120:5001</a></span></div><div><span style="color:rgb(0,0,0);font-family:monospace"><br></span></div><div><span style="color:rgb(0,0,0);font-family:monospace">Consumer:</span></div><div><span style="color:rgb(0,0,0);font-family:monospace"><br></span></div><div><span style="color:rgb(0,0,0);font-family:monospace"><br></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">gst-launch-1.0 -q u</span></span><span style="color:rgb(0,0,0);font-family:monospace">dpsrc port=5001 caps="application/x-rtp" do-timestamp=true ! rtppcmudepay ! mulawdec </span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">! audioconvert ! audioresample ! </span></span><span style="color:rgb(0,0,0);font-family:monospace">audio/x-raw,format=S16LE,layout=interleaved, rate=44100, channels=2</span><span style="color:rgb(0,0,0);font-family:monospace"> ! fdsink fd=1 sync=true </span></div><div><span style="font-family:monospace">
<br></span><span style="font-family:monospace">
</span><div>What's happening? Is this the recommended way to do audio over udp?</div><div>I have gstreamer 1.4.4 on the producer and 1.9.90 on the consumer.</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><b>Stack</b> is the new term for "I have no idea what I'm actually
using".</div></div></div></div></div>
</div></div>