GNOME Bugzilla – Bug 758994
HLS Streaming do not add gaps between two timestamped Video files
Last modified: 2016-02-28 19:39:21 UTC
I use this Pipeline: playbin uri="http://pathToHls/Test.m3u8" ***Test.m3u8*** #EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:60 #EXTINF:60.78618 #EXT-X-DISCONTINUITY #EXT-X-PROGRAM-DATE-TIME:2015-11-13T16:59:31.909382+00:00 #EXT-X-KEY:METHOD=NONE Media/testVideo1.mts #EXTINF:60.79618 #EXT-X-DISCONTINUITY #EXT-X-PROGRAM-DATE-TIME:2015-11-13T17:15:33.610382+00:00 #EXT-X-KEY:METHOD=NONE Media/testVideo2.mts #EXT-X-ENDLIST Everything works, but i just receive a Duration of both files (=121582ms), but it should be (121582ms + ~901214ms (Gap) = 1022796ms) and GStreamer should jump with the value of Position, when it reaches the gap.
Can you provide the complete stream, including the MPEG-TS files, somewhere? But this doesn't really look like a valid HLS stream to me.
It's explicit in the HLS spec that clients should *not* rely on the value of the EXT-X-PROGRAM-DATE-TIME field. It's informational only, for possible display to the user.
See https://tools.ietf.org/html/draft-pantos-http-live-streaming-13#section-6.3.3
Closing since there were no additional comments. Please re-open if you can point to something in the hls spec that suggests it should work as you describe.