7#include <packager/app/hls_flags.h>
13#include <absl/flags/flag.h>
16 hls_master_playlist_output,
18 "Output path for the master playlist for HLS. This flag must be"
19 "used to output HLS.");
23 "The base URL for the Media Playlists and media files listed in "
24 "the playlists. This is the prefix for the files.");
28 "The key uri for 'identity' and 'com.apple.streamingkeydelivery' "
29 "key formats. Ignored if the playlist is not encrypted or not "
30 "using the above key formats.");
34 "VOD, EVENT, or LIVE. This defines the EXT-X-PLAYLIST-TYPE in "
35 "the HLS specification. For hls_playlist_type of LIVE, "
36 "EXT-X-PLAYLIST-TYPE tag is omitted.");
38 hls_media_sequence_number,
40 "Number. This HLS-only parameter defines the initial "
41 "EXT-X-MEDIA-SEQUENCE value, which allows continuous media "
42 "sequence across packager restarts. See #691 for more "
43 "information about the reasoning of this and its use cases.");
44ABSL_FLAG(std::optional<double>,
45 hls_start_time_offset,
47 "Floating-point number. Sets EXT-X-START on the media playlists "
48 "to specify the preferred point at wich the player should start "
49 "playing. A positive number indicates a time offset from the "
50 "beginning of the playlist. A negative number indicates a "
51 "negative time offset from the end of the last media segment "
56 "Playback of Offline HLS assets shall use EXT-X-SESSION-KEY "
57 "to declare all eligible content keys in the master playlist.");
59 add_program_date_time,
61 "Add EXT-X-PROGRAM-DATE-TIME tag to the playlist. The date time is "
62 "derived from the current wall clock time.");