hlsdemux2: Use variant stream as support for synchronizing playlists
authorEdward Hervey <edward@centricular.com>
Wed, 1 Jun 2022 13:45:23 +0000 (15:45 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 28 Jun 2022 17:59:23 +0000 (17:59 +0000)
commitb9effe04e3cb6a3de9751573fb546ff348b72cb2
tree29243db3679e290531d1dfb04787f0daea82ee9d
parent87ab729551168dc44da7d1aa0cd9c384419f2371
hlsdemux2: Use variant stream as support for synchronizing playlists

When matching playlists, there is a possibility that rendition streams will not
have been updated in time (for example because that stream started later, or
playback was paused). This would cause several playback failures and seeking
failures.

In order to still fall back on our feet, attempt to synchronize that rendition
playlist against the current variant playlist. This will attempt to match the
stream time using SN/DNS/PDT/...

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2679>
subprojects/gst-plugins-good/ext/adaptivedemux2/hls/gsthlsdemux.c