shaka-packager/packager/app
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
..
test Change --generate_static_mpd to --generate_static_live_mpd (#672) 2019-11-15 11:53:47 -08:00
ad_cue_generator_flags.cc Defined Scte35Event struct and out of band cue marker flags 2017-11-16 00:13:29 +00:00
ad_cue_generator_flags.h Defined Scte35Event struct and out of band cue marker flags 2017-11-16 00:13:29 +00:00
crypto_flags.cc Rename webm_subsample_encryption flag to vp9_subsample_encryption 2017-03-30 20:36:43 +00:00
crypto_flags.h Multi-DRM flag refactoring 2018-08-09 22:01:46 +00:00
gflags_hex_bytes.cc Move hex string out of packager.h 2017-06-20 22:33:47 +00:00
gflags_hex_bytes.h Move hex string out of packager.h 2017-06-20 22:33:47 +00:00
hls_flags.cc Add --hls_media_sequence_number to support custom value in HLS 2020-01-31 10:25:19 -08:00
hls_flags.h Add --hls_media_sequence_number to support custom value in HLS 2020-01-31 10:25:19 -08:00
job_manager.cc Allow SyncPointQueue to be cancelled 2018-03-27 19:14:37 +00:00
job_manager.h Allow SyncPointQueue to be cancelled 2018-03-27 19:14:37 +00:00
libcrypto_threading.cc Integrate packager top level library 2017-06-13 13:40:26 -07:00
libcrypto_threading.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
manifest_flags.cc Add support for --default_text_language 2018-11-26 13:42:58 -08:00
manifest_flags.h Add support for --default_text_language 2018-11-26 13:42:58 -08:00
mpd_flags.cc Change --generate_static_mpd to --generate_static_live_mpd (#672) 2019-11-15 11:53:47 -08:00
mpd_flags.h Change --generate_static_mpd to --generate_static_live_mpd (#672) 2019-11-15 11:53:47 -08:00
mpd_generator.cc Update MpdGenerator to allow inject version for testing 2018-05-30 13:16:33 -07:00
mpd_generator_flags.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
muxer_factory.cc Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
muxer_factory.h Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
muxer_flags.cc Set default clear lead to 5 seconds 2018-08-14 22:59:37 +00:00
muxer_flags.h Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
packager_main.cc Add --hls_media_sequence_number to support custom value in HLS 2020-01-31 10:25:19 -08:00
packager_util.cc Exclude short segments from peak bandwidth computation 2018-11-26 20:02:09 +00:00
packager_util.h Exclude short segments from peak bandwidth computation 2018-11-26 20:02:09 +00:00
playready_key_encryption_flags.cc Multi-DRM flag refactoring 2018-08-09 22:01:46 +00:00
playready_key_encryption_flags.h Implement multi DRM support. (Part 3) 2018-04-26 18:14:22 +00:00
protection_system_flags.cc Support Marlin DRM signaling in DASH 2018-10-01 20:22:58 +00:00
protection_system_flags.h Change --additional_protection_systems to --protection_systems 2018-08-14 22:12:55 +00:00
raw_key_encryption_flags.cc Rename fixed_key to raw_key 2017-10-24 21:52:01 +00:00
raw_key_encryption_flags.h Rename fixed_key to raw_key 2017-10-24 21:52:01 +00:00
retired_flags.cc Change --generate_static_mpd to --generate_static_live_mpd (#672) 2019-11-15 11:53:47 -08:00
retired_flags.h Multi-DRM flag refactoring 2018-08-09 22:01:46 +00:00
stream_descriptor.cc [DASH] Support custom Accessibility and Role elements 2019-06-13 15:43:32 -07:00
stream_descriptor.h Integrate packager top level library 2017-06-13 13:40:26 -07:00
validate_flag.cc Add multi-key support in fixed/raw keys 2017-10-24 21:04:49 +00:00
validate_flag.h Add multi-key support in fixed/raw keys 2017-10-24 21:04:49 +00:00
vlog_flags.cc Enable verbose logging through --v or --vmodule 2015-10-28 22:15:50 +00:00
vlog_flags.h Enable verbose logging through --v or --vmodule 2015-10-28 22:15:50 +00:00
widevine_encryption_flags.cc Support entitlement license with Widevine key server 2018-05-17 21:03:05 +00:00
widevine_encryption_flags.h Support entitlement license with Widevine key server 2018-05-17 21:03:05 +00:00