Shaka Packager SDK
hls_flags.cc
1 // Copyright 2016 Google Inc. All rights reserved.
2 //
3 // Use of this source code is governed by a BSD-style
4 // license that can be found in the LICENSE file or at
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #include "packager/app/hls_flags.h"
8 
9 DEFINE_string(hls_master_playlist_output,
10  "",
11  "Output path for the master playlist for HLS. This flag must be"
12  "used to output HLS.");
13 DEFINE_string(hls_base_url,
14  "",
15  "The base URL for the Media Playlists and media files listed in "
16  "the playlists. This is the prefix for the files.");
17 DEFINE_string(hls_key_uri,
18  "",
19  "The key uri for 'identity' and 'com.apple.streamingkeydelivery' "
20  "key formats. Ignored if the playlist is not encrypted or not "
21  "using the above key formats.");
22 DEFINE_string(hls_playlist_type,
23  "VOD",
24  "VOD, EVENT, or LIVE. This defines the EXT-X-PLAYLIST-TYPE in "
25  "the HLS specification. For hls_playlist_type of LIVE, "
26  "EXT-X-PLAYLIST-TYPE tag is omitted.");
27 DEFINE_int32(hls_media_sequence_number,
28  0,
29  "Number. This HLS-only parameter defines the initial "
30  "EXT-X-MEDIA-SEQUENCE value, which allows continuous media "
31  "sequence across packager restarts. See #691 for more "
32  "information about the reasoning of this and its use cases.");