still confused about latency

Nicolas Dufresne nicolas at ndufresne.ca
Sun Jul 12 13:19:38 UTC 2020


Le dim. 12 juill. 2020 06 h 45, jim nualart <jim at austinmodern.com> a écrit :

> Hello all,
>
> I've read and re-read this section several times and am embarrassed to
> admit that I'm still somewhat confused.
>
>
> https://gstreamer.freedesktop.org/documentation/additional/design/latency.html?gi-language=python#query
>
> I have a pipeline that I queried the latency on and I do see it change as
> I add/remove sources. Conceptually this makes sense to me. No problem
> there. But the min & max values that are returned do not. I get a min of
> 160ms and a max of 100ms.
>

The pipeline should also warn in the condition. This means you don't have
enough buffering to delay your playback to ensure all streams are on sync.
Add queues were needed.


> I'm having trouble reconciling those numbers with the description in the
> above link.
>
> Based on the documentation, I interpret this as "my pipeline has a maximum
> latency of 160ms" AND "my pipeline can buffer 100ms of data before
> blocking/dropping data". I feel like maybe I'm missing something here.
>
> Can anyone set me straight here? I should add that my pipeline works as
> expected (mostly -- it does have some small issues, but nothing close to
> dropping data).
>
> thanks in advance,
> -jaime
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200712/61ee98e6/attachment.htm>


More information about the gstreamer-devel mailing list