logo
pub struct DashPackage {
Show 15 fields pub ad_triggers: Option<Vec<String>>, pub ads_on_delivery_restrictions: Option<String>, pub encryption: Option<DashEncryption>, pub manifest_layout: Option<String>, pub manifest_window_seconds: Option<i64>, pub min_buffer_time_seconds: Option<i64>, pub min_update_period_seconds: Option<i64>, pub period_triggers: Option<Vec<String>>, pub profile: Option<String>, pub segment_duration_seconds: Option<i64>, pub segment_template_format: Option<String>, pub stream_selection: Option<StreamSelection>, pub suggested_presentation_delay_seconds: Option<i64>, pub utc_timing: Option<String>, pub utc_timing_uri: Option<String>,
}
Expand description

A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.

Fields

ad_triggers: Option<Vec<String>>ads_on_delivery_restrictions: Option<String>encryption: Option<DashEncryption>manifest_layout: Option<String>

Determines the position of some tags in the Media Presentation Description (MPD). When set to FULL, elements like SegmentTemplate and ContentProtection are included in each Representation. When set to COMPACT, duplicate elements are combined and presented at the AdaptationSet level.

manifest_window_seconds: Option<i64>

Time window (in seconds) contained in each manifest.

min_buffer_time_seconds: Option<i64>

Minimum duration (in seconds) that a player will buffer media before starting the presentation.

min_update_period_seconds: Option<i64>

Minimum duration (in seconds) between potential changes to the Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD).

period_triggers: Option<Vec<String>>

A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not be partitioned into more than one period. If the list contains "ADS", new periods will be created where the Channel source contains SCTE-35 ad markers.

profile: Option<String>

The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV15", HbbTV 1.5 compliant output is enabled.

segment_duration_seconds: Option<i64>

Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.

segment_template_format: Option<String>

Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to NUMBERWITHTIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set to TIMEWITHTIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set to NUMBERWITHDURATION, only a duration is included in each SegmentTemplate, with $Number$ media URLs.

stream_selection: Option<StreamSelection>suggested_presentation_delay_seconds: Option<i64>

Duration (in seconds) to delay live content before presentation.

utc_timing: Option<String>

Determines the type of UTCTiming included in the Media Presentation Description (MPD)

utc_timing_uri: Option<String>

Specifies the value attribute of the UTCTiming field when utcTiming is set to HTTP-ISO or HTTP-HEAD

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more