Shaka Packager SDK
manifest_flags.cc
1 // Copyright 2018 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/manifest_flags.h"
8 
9 DEFINE_double(time_shift_buffer_depth,
10  1800.0,
11  "Guaranteed duration of the time shifting buffer for HLS LIVE "
12  "playlists and DASH dynamic media presentations, in seconds.");
13 DEFINE_uint64(
14  preserved_segments_outside_live_window,
15  50,
16  "Segments outside the live window (defined by '--time_shift_buffer_depth') "
17  "are automatically removed except for the most recent X segments defined "
18  "by this parameter. This is needed to accommodate latencies in various "
19  "stages of content serving pipeline, so that the segments stay accessible "
20  "as they may still be accessed by the player."
21  "The segments are not removed if the value is zero.");
22 DEFINE_string(default_language,
23  "",
24  "For DASH, any audio/text tracks tagged with this language will "
25  "have <Role ... value=\"main\" /> in the manifest; For HLS, the "
26  "first audio/text rendition in a group tagged with this language "
27  "will have 'DEFAULT' attribute set to 'YES'. This allows the "
28  "player to choose the correct default language for the content.");