RTSP stream, effect of max-lateness + qos

Tim-Philipp Müller t.i.m at zen.co.uk
Mon May 15 09:10:38 UTC 2023


Hi,
> What would be the differences between qos=false + max-lateness=-1 and
> setting sync=false ?


I don't think there'd be a difference if all your frames are late, but
there'd be a difference if some of your frames are early.

With sync=true the sink will wait for the right time to output those
early frames. With sync=false it will just output the frame immediately
and not even look at the timestamps or the clock or anything.

So in a normal live playback scenario where the decoder can keep up
sync=false will make the output jittery (because in practice the
decoder will decode some frames faster than others, and some frames
might also come faster out of the jitterbuffer than others, e.g. when
there was packet loss, or because the network delay is not constant).

Cheers
 Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230515/b8c80d07/attachment-0001.htm>


More information about the gstreamer-devel mailing list