<html><head></head><body><div class="ydpfce8d9b9yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;" dir="ltr" data-setdir="false">Hello, hopefully I'm in the right place for this issue.</div><div class="ydpfce8d9b9yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;" dir="ltr" data-setdir="false"><br></div><div class="ydpfce8d9b9yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;" dir="ltr" data-setdir="false">I 'm using the AVTP plugin to run audio between 2 Raspberry PI CM4 systems</div><div class="ydpfce8d9b9yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;" dir="ltr" data-setdir="false">I've built to evaluate different audio streaming protocols. However I seem to</div><div class="ydpfce8d9b9yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;" dir="ltr" data-setdir="false">have about 150-200mS latency which seems high. </div><div class="ydpfce8d9b9yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;" dir="ltr" data-setdir="false"><br></div><div class="ydpfce8d9b9yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;" dir="ltr" data-setdir="false">I'm setting up following these guidelines and everything is working ok.</div><div class="ydpfce8d9b9yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;" dir="ltr" data-setdir="false"><a href="https://tsn.readthedocs.io/avb.html" rel="nofollow" target="_blank" class="">https://tsn.readthedocs.io/avb.html</a><br></div><div><br></div><div>I'm playing audio from system A to its local i2s soundcard DAC (PCM5122)</div><div dir="ltr" data-setdir="false">and at the same time sending via AVTP to System B and playing out the audio</div><div dir="ltr" data-setdir="false">with the same type of audio card. No droputs, gPTP sync working well, no drift etc.</div><div dir="ltr" data-setdir="false">The 2networkcards ( intel  i210)  are connected directly to each other, no switch involved.</div><div dir="ltr" data-setdir="false">I'm mixing the analog audio output from the 2 soundcards together so I can hear the latency.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">My playout pipeline (system A):</div><div dir="ltr" data-setdir="false"><span>gst-launch-1.0 clockselect. \( clock-id=realtime filesrc location=babylon.wav  ! wavparse ! tee name=t ! queue max-size-buffers=0 max-size-time=0 ! audioconvert ! audiobuffersplit output-buffer-duration=12/48000 !     avtpaafpay mtt=50000000 tu=1000000 streamid=0xAABBCCDDEEFF000B processing-deadline=0 ! avtpsink ifname=eth0.5 address=01:AA:AA:AA:AA:AA priority=2 processing-deadline=0 t. ! queue ! alsasink \)</span><br></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><span>My listen pipeline (system B)</span></div><div dir="ltr" data-setdir="false"><div><div>gst-launch-1.0 clockselect. \( clock-id=realtime \</div><div>    avtpsrc ifname=eth0.5 address=01:AA:AA:AA:AA:AA ! \</div><div>    queue max-size-buffers=0 max-size-time=0 ! \</div><div dir="ltr" data-setdir="false">    avtpaafdepay streamid=0xAABBCCDDEEFF000B ! audioconvert ! alsasink buffer-time=1 \)</div></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Is there any way to improve the latency?</div></div><div><br></div><div dir="ltr" data-setdir="false">TIA</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Ian</div></body></html>