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.");