<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 18 févr. 2020 09 h 15, CVX DEV <<a href="mailto:cvxdev@gmail.com">cvxdev@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi all, <br></div><div></div><div>
<div>

<p>I am currently playing around with an AudioOverIP Project and 
wondered if you could help me out.
I have a LAN, with an Audio Source (Dante/AES67-RTP-Stream) which I 
would like to distribute to multiple receivers (SBC (e.g. RaspberryPi) 
with an Audio Output (e.g. Headphone jack):</p>

<pre><code>Source (e.g. PC)-->Dante-Audio-USB-Dongle-->AES67/RTP-Multicast-Stream-->LAN-Network-Switch-->RPI (Gstreamer --> AudioJack)
</code></pre>

<p>I currently use the following Gstreamer Pipeline command on the RPi:</p>

<pre><code>gst-launch-1.0 -v udpsrc uri=udp://<a href="http://239.69.212.18:5004" target="_blank" rel="noreferrer">239.69.212.18:5004</a> caps="application/x-rtp,channels=(int)2,format=(string)S16LE,media=(string)audio,payload=(int)96,clock-rate=(int)48000,encoding-name=(string)L24" ! rtpL24depay ! audioconvert ! alsasink device=hw:0,0
</code></pre>

<p>It all works fine, but if I watch a video on the PC and listen to the
 Audio on the RPI, I have some latency (~200-300ms), therefore my 
questions</p></div></div></div></blockquote></div></div><div dir="auto">Alsasink has 200ms latency as default configuration. See buffer-time property.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>

<ol><li>Do I miss something in my Gstreamer Pipeline to be able to reduce latency?</li><li>What is the minimal Latency to be expected with RTP-Streams, is <b><50ms</b> achievable?</li><li>Would the latency occur due to the network or due to the speed of the RPi?</li><li>Since my audio-input is not a Gstreamer input, I assume <code>rtpjitterbuffer</code> or similar would not help to decrease latency / improve sync?<br></li></ol><div>Here the SDP-extract from the Audio-Source:</div><div style="margin-left:40px">v=0<br>o=- 1484410 1484415 IN IP4 192.168.88.32<br>s=avio : 2<br>c=IN IP4 <a href="http://239.69.212.18/32" target="_blank" rel="noreferrer">239.69.212.18/32</a><br>t=0 0<br>a=keywds:Dante<br>m=audio 5004 RTP/AVP 97<br>i=2 channels: Left, Right<br>a=recvonly<br>a=rtpmap:97 L24/48000/2<br>a=ptime:1<br>a=ts-refclk:ptp=IEEE1588-2008:00-1D-C1-FF-FE-50-BD-E3:0<br>a=mediaclk:direct=161726307</div></div><div><br></div><div>Thanks in advance for your feedback & help.</div><div><br></div><div><div style="margin-left:40px"><br></div>
    </div>

</div></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div></div></div>