2022-08-26 15:44:59 +00:00
|
|
|
// Copyright 2016 Google LLC. All rights reserved.
|
2016-04-16 22:58:47 +00:00
|
|
|
//
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file or at
|
|
|
|
// https://developers.google.com/open-source/licenses/bsd
|
|
|
|
|
|
|
|
#include "packager/app/hls_flags.h"
|
|
|
|
|
|
|
|
DEFINE_string(hls_master_playlist_output,
|
|
|
|
"",
|
|
|
|
"Output path for the master playlist for HLS. This flag must be"
|
|
|
|
"used to output HLS.");
|
|
|
|
DEFINE_string(hls_base_url,
|
|
|
|
"",
|
2017-05-22 20:31:41 +00:00
|
|
|
"The base URL for the Media Playlists and media files listed in "
|
|
|
|
"the playlists. This is the prefix for the files.");
|
2017-11-12 22:56:25 +00:00
|
|
|
DEFINE_string(hls_key_uri,
|
|
|
|
"",
|
|
|
|
"The key uri for 'identity' and 'com.apple.streamingkeydelivery' "
|
|
|
|
"key formats. Ignored if the playlist is not encrypted or not "
|
|
|
|
"using the above key formats.");
|
2017-06-03 00:05:47 +00:00
|
|
|
DEFINE_string(hls_playlist_type,
|
|
|
|
"VOD",
|
|
|
|
"VOD, EVENT, or LIVE. This defines the EXT-X-PLAYLIST-TYPE in "
|
|
|
|
"the HLS specification. For hls_playlist_type of LIVE, "
|
|
|
|
"EXT-X-PLAYLIST-TYPE tag is omitted.");
|
2020-01-31 18:25:19 +00:00
|
|
|
DEFINE_int32(hls_media_sequence_number,
|
|
|
|
0,
|
|
|
|
"Number. This HLS-only parameter defines the initial "
|
|
|
|
"EXT-X-MEDIA-SEQUENCE value, which allows continuous media "
|
|
|
|
"sequence across packager restarts. See #691 for more "
|
|
|
|
"information about the reasoning of this and its use cases.");
|