<div dir="ltr"><div><div><div>Hi Julien.<br><br></div>Your max-lateness on alsasrc on device 2 <u>is not</u> linked to network delay between device 1 and device 2, but rather linked to an internal clock started when the first samples are given to alsasrc.<br><br></div>Best regards<br></div>Peter<br><div><div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 28, 2016 at 8:45 AM, Paixao Julien <span dir="ltr"><<a href="mailto:J.Paixao@televic.com" target="_blank">J.Paixao@televic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Would you have any hints regarding my point below?<br>
<div class="HOEnZb"><div class="h5"><br>
 > I am now using a network emulator between Device1 and Device2.<br>
> The IP packets from Device1 to Device2 are first going to the network<br>
> emulator.<br>
><br>
> With this network emulator I can simulate some network effects.<br>
> One of them is the jitter and indeed by adding jitter on the line I start to have<br>
> choppy audio since the pipeline of Device2 does not contain a jitter buffer<br>
> before the depayloader.<br>
><br>
> I have also played with the delay parameter, a fixed delay is applied to each<br>
> packet from Device1 to Device2.<br>
> I have tried a delay of 500ms, 1s and 2s.<br>
> Let's visualize the situation with a delay of 500ms:<br>
> Device1 -> Sends RTP packet1 at 0ms   ---------------  Device2 -> Receives RTP<br>
> packet1 after 500ms<br>
> Device1 -> Sends RTP packet2 at 16ms ---------------  Device2 -> Receives RTP<br>
> packet2 after 516ms<br>
> Device1 -> Sends RTP packet3 at 16ms ---------------  Device2 -> Receives RTP<br>
> packet3 after 532ms ...<br>
><br>
> In that situation, seeing my Device2 pipeline, I would expect that all the<br>
> packets arriving in Device2 would be dropped by the alsasink since max-<br>
> lateness is set to 100ms.<br>
> But the audio on Device2 still plays smoothly, I do not understand that, it<br>
> looks like the timestamp in the RTP packets is not used...<br>
> Would you have any ideas why?<br>
><br>
<br>
Best regards,<br>
Julien.<br>
<br>
</div></div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br></div></div></div></div></div>