Skip to content

Commit

Permalink
the force_cl_index bool member variable needs to be set for default o…
Browse files Browse the repository at this point in the history
…f true
  • Loading branch information
SteveR-PMP committed Feb 9, 2024
1 parent 8907d2d commit b238bc0
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 6 deletions.
7 changes: 6 additions & 1 deletion docs/source/options/dash_options.rst
Expand Up @@ -99,4 +99,9 @@ DASH options
--low_latency_dash_mode

If enabled, LL-DASH streaming will be used,
reducing overall latency by decoupling latency from segment duration.
reducing overall latency by decoupling latency from segment duration.

--force_cl_index

True forces the muxer to order streams in the order given
on the command-line. False uses the previous unordered behavior.
5 changes: 5 additions & 0 deletions docs/source/options/hls_options.rst
Expand Up @@ -80,3 +80,8 @@ HLS options

Optional. Defaults to 0 if not specified. If it is set to 1, indicates the
stream is HLS only.

--force_cl_index

True forces the muxer to order streams in the order given
on the command-line. False uses the previous unordered behavior.
2 changes: 1 addition & 1 deletion include/packager/hls_params.h
Expand Up @@ -65,7 +65,7 @@ struct HlsParams {
uint32_t media_sequence_number = 0;
/// Force the muxer to order streams in the order given
/// on the command-line
bool force_cl_index = false;
bool force_cl_index = true;
};

} // namespace shaka
Expand Down
2 changes: 1 addition & 1 deletion include/packager/mpd_params.h
Expand Up @@ -102,7 +102,7 @@ struct MpdParams {
/// and is greatly influnced by the player.
/// This parameter is required by DASH-IF Low Latency standards.
double target_latency_seconds = 1;
bool force_cl_index = false;
bool force_cl_index = true;
};

} // namespace shaka
Expand Down
2 changes: 1 addition & 1 deletion include/packager/packager.h
Expand Up @@ -59,7 +59,7 @@ struct PackagingParams {
/// avoid non-deterministic outputs.
bool single_threaded = false;
/// Force the command-line order in the output manifest(s)
bool force_cl_index = false;
bool force_cl_index = true;

/// DASH MPD related parameters.
MpdParams mpd_params;
Expand Down
4 changes: 2 additions & 2 deletions packager/app/manifest_flags.cc
Expand Up @@ -40,5 +40,5 @@ ABSL_FLAG(std::string,
ABSL_FLAG(bool,
force_cl_index,
true,
"Force the muxer to order streams in the order given "
"on the command-line");
"True forces the muxer to order streams in the order given "
"on the command-line. False uses the previous unordered behavior.");

0 comments on commit b238bc0

Please sign in to comment.