[Bug 780233] m3u8: Consider URI repeat as white list

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 20 11:16:02 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=780233

--- Comment #4 from Seungha Yang <sh.yang at lge.com> ---
(In reply to Sebastian Dröge (slomo) from comment #3)
> Can you check what the HLS spec specifically says about this? In the section
> that is quoted in the code above the consistency checking. Should we relax
> the check and that's still according to the spec?

Spec's Section 3 is saying that unserialized segment timestamps is allowed for
DISCONTINUITY case, as we know. Since the spec defines "incremental
MEDIA-SEQUENCE number", but no restriction of duplicated URI in playlist, so my
case DISCONTINUITY + duplicated URI) meets the spec.

3.  Media Segments
....
   Each Media Segment MUST carry the continuation of the encoded
   bitstream from the end of the segment with the previous Media
   Sequence Number, where values in a series such as timestamps and
   Continuity Counters MUST continue uninterrupted.  The only exceptions
   are the first Media Segment ever to appear in a Media Playlist, and
   Media Segments which are explicitly *signaled as discontinuities*
   (Section 4.3.2.3).  Unmarked media discontinuities can trigger
   playback errors.

Therefore, I think we should relax the condition, but to be more correct, we
might need to check more something like DISCONTINUITY tag or
DISCONTINUITY-SEQUENCE.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list