GNOME Bugzilla – Bug 678540
hlsdemux: live streams starts at wrong segment
Last modified: 2014-02-23 10:03:19 UTC
A somewhat recent patch named "hlsdemux: In a live stream, do not start from 3 fragments before the end." from https://bugzilla.gnome.org/show_bug.cgi?id=674722 changed the playback starting point for live streams. The spec doesn't define the segment at which a live stream should begin playback, however the CoreMedia based players from Apple starts three segments from the end and I don't see why gstreamer should suddenly start to behave any different. I suggest the relevant patches (df958b4906ef8595f5006e9d97c484bb912fd757, bb9d1147b7c6e611541c0fecbfa2cfc4cfa48e78) are reverted to fix this issue.
HLS spec does talks about from where the playing should start http://tools.ietf.org/html/draft-pantos-http-live-streaming-10#section-6.3.3 6.3.3. Playing the Playlist file If the EXT-X-ENDLIST tag is not present and the client intends to play the media regularly (i.e. in playlist order at the nominal playback rate), the client SHOULD NOT choose a segment which starts less than three target durations from the end of the Playlist file. Doing so can trigger playback stalls.
Yes, I don't think this is actually a bug and we behave according to the spec here.