HLS stream's video stops after discontinuity
Submitted by Charlie Turner
Created attachment 355950
Minimal testcase showing the error
In the attachment is a minimal master playlist that demonstrates the problem. It's referencing media from TED.com, which may or may not still exist by the time someone sees this ticket, but I can find a new testcase so let me know.
The problem is something to do with switch variant streams combined with discontinuities. The video / audio media playlists have TED's opening credits as a separate stream, then a discontinuity tag, and then the actually content. The video freezes close to the end of the opening credits.
The other interesting things to note about this example,
- If you remove the BANDWIDTH keywords, it works fine. Because now it is not variant switching => there is something to do with variant switching.
- If you comment out the audio rendition, the video doesn't stall => existence of both audio and video is required to trigger this bug.
I play it like this,
$ ./gstreamer/tools/gst-launch-1.0 playbin uri='file:///path/to/manifest-reduced.m3u8'
Attachment 355950, "Minimal testcase showing the error":