Shaka Packager SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Attributes | Static Public Attributes | List of all members
shaka::Mp4OutputParams Struct Reference

MP4 (ISO-BMFF) output related parameters. More...

#include <mp4_output_params.h>

Public Attributes

bool include_pssh_in_stream = true
 
int num_subsegments_per_sidx = kSingleSidxPerSegment
 
bool use_decoding_timestamp_in_timeline = false
 

Static Public Attributes

static constexpr int kNoSidxBoxInSegment = -1
 
static constexpr int kSingleSidxPerSegment = 0
 

Detailed Description

MP4 (ISO-BMFF) output related parameters.

Definition at line 13 of file mp4_output_params.h.

Member Data Documentation

constexpr int shaka::Mp4OutputParams::kNoSidxBoxInSegment = -1
static

Set the number of subsegments in each SIDX box. If 0, a single SIDX box is used per segment. If -1, no SIDX box is used. Otherwise, the Muxer will pack N subsegments in the root SIDX of the segment, with segment_duration/N/subsegment_duration fragments per subsegment. This flag is ingored for DASH MPD with on-demand profile.

Definition at line 24 of file mp4_output_params.h.

bool shaka::Mp4OutputParams::use_decoding_timestamp_in_timeline = false

Set the flag use_decoding_timestamp_in_timeline, which if set to true, use decoding timestamp instead of presentation timestamp in media timeline, which is needed to workaround a Chromium bug that decoding timestamp is used in buffered range, https://crbug.com/398130.

Definition at line 31 of file mp4_output_params.h.


The documentation for this struct was generated from the following file: