Shaka Packager SDK
Public Attributes | Static Public Attributes | List of all members
shaka::MpdParams Struct Reference

DASH MPD related parameters. More...

#include <mpd_params.h>

Public Attributes

std::string mpd_output
 MPD output file path.
 
std::vector< std::string > base_urls
 
double min_buffer_time = 2.0
 
bool generate_static_live_mpd = false
 
double time_shift_buffer_depth = 0
 
double suggested_presentation_delay = kSuggestedPresentationDelayNotSet
 
double minimum_update_period = 0
 
std::string default_language
 
bool generate_dash_if_iop_compliant_mpd = true
 Try to generate DASH-IF IOP compliant MPD.
 

Static Public Attributes

static constexpr double kSuggestedPresentationDelayNotSet = 0
 

Detailed Description

DASH MPD related parameters.

Definition at line 16 of file mpd_params.h.

Member Data Documentation

◆ base_urls

std::vector<std::string> shaka::MpdParams::base_urls

BaseURLs for the MPD. The values will be added as <BaseURL> element(s) under the <MPD> element.

Definition at line 21 of file mpd_params.h.

◆ default_language

std::string shaka::MpdParams::default_language

The tracks tagged with this language will have <Role ... value="main" /> in the manifest. This allows the player to choose the correct default language for the content.

Definition at line 46 of file mpd_params.h.

◆ generate_static_live_mpd

bool shaka::MpdParams::generate_static_live_mpd = false

Generate static MPD for live profile. Note that this flag has no effect for on-demand profile, in which case static MPD is always used.

Definition at line 30 of file mpd_params.h.

◆ kSuggestedPresentationDelayNotSet

constexpr double shaka::MpdParams::kSuggestedPresentationDelayNotSet = 0
static

Set MPD attribute. For 'dynamic' media presentations, it specifies a delay, in seconds, to be added to the media presentation time. The attribute is not set if the value is 0; the client is expected to choose a suitable value in this case.

Definition at line 38 of file mpd_params.h.

◆ min_buffer_time

double shaka::MpdParams::min_buffer_time = 2.0

Set MPD attribute, which specifies, in seconds, a common duration used in the definition of the MPD representation data rate. A client can be assured of having enough data for continous playout providing playout begins at min_buffer_time after the first bit is received.

Definition at line 27 of file mpd_params.h.

◆ minimum_update_period

double shaka::MpdParams::minimum_update_period = 0

Set MPD attribute, which indicates to the player how often to refresh the MPD in seconds. For dynamic MPD only.

Definition at line 42 of file mpd_params.h.

◆ time_shift_buffer_depth

double shaka::MpdParams::time_shift_buffer_depth = 0

Set MPD attribute, which is the guaranteed duration of the time shifting buffer for 'dynamic' media presentations, in seconds.

Definition at line 33 of file mpd_params.h.


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