Shaka Packager SDK
Loading...
Searching...
No Matches
manifest_flags.cc
1// Copyright 2018 Google LLC. 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/manifest_flags.h>
8
9ABSL_FLAG(double,
10 time_shift_buffer_depth,
11 1800.0,
12 "Guaranteed duration of the time shifting buffer for HLS LIVE "
13 "playlists and DASH dynamic media presentations, in seconds.");
14ABSL_FLAG(
15 uint64_t,
16 preserved_segments_outside_live_window,
17 50,
18 "Segments outside the live window (defined by '--time_shift_buffer_depth') "
19 "are automatically removed except for the most recent X segments defined "
20 "by this parameter. This is needed to accommodate latencies in various "
21 "stages of content serving pipeline, so that the segments stay accessible "
22 "as they may still be accessed by the player."
23 "The segments are not removed if the value is zero.");
24ABSL_FLAG(std::string,
25 default_language,
26 "",
27 "For DASH, any audio/text tracks tagged with this language will "
28 "have <Role ... value=\"main\" /> in the manifest; For HLS, the "
29 "first audio/text rendition in a group tagged with this language "
30 "will have 'DEFAULT' attribute set to 'YES'. This allows the "
31 "player to choose the correct default language for the content."
32 "This applies to both audio and text tracks. The default "
33 "language for text tracks can be overriden by "
34 "'--default_text_language'.");
35ABSL_FLAG(std::string,
36 default_text_language,
37 "",
38 "Same as above, but this applies to text tracks only, and "
39 "overrides the default language for text tracks.");
40ABSL_FLAG(bool,
41 force_cl_index,
42 true,
43 "True forces the muxer to order streams in the order given "
44 "on the command-line. False uses the previous unordered behavior.");