shaka-packager/packager/hls/base
Daniel Cantarín 7aab7a8b50
Add --hls_media_sequence_number to support custom value in HLS
HLS uses the EXT-X-MEDIA-SEQUENCE tag at the start of a live playlist in
order to specify the first segment sequence number. This is because any
live playlist have a limited number of segments, and they also keep
updating with new segments while removing old ones. When a player refreshes
the playlist, this information is important for keeping track of segments
positions.

When the packager starts, it naturally starts this count from zero. However,
there are many situations where the packager may be restarted, without this
meaning starting this value from zero (but continuing a previous sequence).
The most common situations are problems in the encoder feeding the packager.

With those cases in mind, this parameter allows to set the initial
EXT-X-MEDIA-SEQUENCE value. This way, it's possible to continue the sequence
number from previous packager run.

Closes #691.
2020-01-31 10:25:19 -08:00
..
hls_notifier.h [HLS] Support FRAME-RATE attribute 2019-10-04 22:50:34 +00:00
master_playlist.cc [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
master_playlist.h Add support for --default_text_language 2018-11-26 13:42:58 -08:00
master_playlist_unittest.cc [HLS] Support FRAME-RATE attribute 2019-10-04 22:50:34 +00:00
media_playlist.cc Add --hls_media_sequence_number to support custom value in HLS 2020-01-31 10:25:19 -08:00
media_playlist.h Add --hls_media_sequence_number to support custom value in HLS 2020-01-31 10:25:19 -08:00
media_playlist_unittest.cc [HLS] Always signal Dolby Vision as PQ 2019-10-04 16:19:07 -07:00
mock_media_playlist.cc Make MediaPlaylist accept HlsParams as contructor param 2018-04-23 18:29:38 -07:00
mock_media_playlist.h [HLS] Support FRAME-RATE attribute 2019-10-04 22:50:34 +00:00
simple_hls_notifier.cc [HLS] Support FRAME-RATE attribute 2019-10-04 22:50:34 +00:00
simple_hls_notifier.h [HLS] Support FRAME-RATE attribute 2019-10-04 22:50:34 +00:00
simple_hls_notifier_unittest.cc Support absolute file path in playlist_name 2019-05-13 18:13:37 -07:00
tag.cc [HLS] Support FRAME-RATE attribute 2019-10-04 22:50:34 +00:00
tag.h [HLS] Support FRAME-RATE attribute 2019-10-04 22:50:34 +00:00