GNOME Bugzilla – Bug 741159
hlssink: Add support for PROGRAM-DATE-TIME on playlist creation
Last modified: 2018-11-03 13:29:17 UTC
There's some player implementations that take into account the PROGRAM-DATE-TIME to synchronize timestamps and sequence number when switching levels.
Created attachment 292180 [details] [review] hlssink: add support for PROGRAM-DATE-TIME tag This patch adds support for PROGRAM-DATE-TIME tag on the playlist.
Created attachment 292568 [details] [review] hlssink: add PROGRAM-DATE-TIME tag when chunk has discontinuity According to HLS spec 14, if a server provides PROGRAM-DATE-TIME on top of the playlist, it SHOULD also apply an EXT-X-PROGRAM-DATE-TIME tag to every segment that has an EXT-X-DISCONTINUITY tag applied to it.
I'm wondering if it makes sense to isolate a function to add the program date time in a given string in order to avoid duplications on gst_date_dime_get* calls introduced by those patches. What do you guys think?
(In reply to comment #3) > I'm wondering if it makes sense to isolate a function to add the program date > time in a given string in order to avoid duplications on gst_date_dime_get* > calls introduced by those patches. What do you guys think? I think it makes sense, please do it. Either that or a macro.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/197.