Struct aws_sdk_mediapackage::model::DashPackage
source · [−]#[non_exhaustive]pub struct DashPackage { /* private fields */ }
Expand description
A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
Implementations
sourceimpl DashPackage
impl DashPackage
sourcepub fn ad_triggers(&self) -> Option<&[AdTriggersElement]>
pub fn ad_triggers(&self) -> Option<&[AdTriggersElement]>
A list of SCTE-35 message types that are treated as ad markers in the output. If empty, no ad markers are output. Specify multiple items to create ad markers for all of the included message types.
sourcepub fn ads_on_delivery_restrictions(&self) -> Option<&AdsOnDeliveryRestrictions>
pub fn ads_on_delivery_restrictions(&self) -> Option<&AdsOnDeliveryRestrictions>
This setting allows the delivery restriction flags on SCTE-35 segmentation descriptors to determine whether a message signals an ad. Choosing “NONE” means no SCTE-35 messages become ads. Choosing “RESTRICTED” means SCTE-35 messages of the types specified in AdTriggers that contain delivery restrictions will be treated as ads. Choosing “UNRESTRICTED” means SCTE-35 messages of the types specified in AdTriggers that do not contain delivery restrictions will be treated as ads. Choosing “BOTH” means all SCTE-35 messages of the types specified in AdTriggers will be treated as ads. Note that Splice Insert messages do not have these flags and are always treated as ads if specified in AdTriggers.
sourcepub fn encryption(&self) -> Option<&DashEncryption>
pub fn encryption(&self) -> Option<&DashEncryption>
A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration.
sourcepub fn include_iframe_only_stream(&self) -> bool
pub fn include_iframe_only_stream(&self) -> bool
When enabled, an I-Frame only stream will be included in the output.
sourcepub fn manifest_layout(&self) -> Option<&ManifestLayout>
pub fn manifest_layout(&self) -> Option<&ManifestLayout>
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.
sourcepub fn manifest_window_seconds(&self) -> i32
pub fn manifest_window_seconds(&self) -> i32
Time window (in seconds) contained in each manifest.
sourcepub fn min_buffer_time_seconds(&self) -> i32
pub fn min_buffer_time_seconds(&self) -> i32
Minimum duration (in seconds) that a player will buffer media before starting the presentation.
sourcepub fn min_update_period_seconds(&self) -> i32
pub fn min_update_period_seconds(&self) -> i32
Minimum duration (in seconds) between potential changes to the Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD).
sourcepub fn period_triggers(&self) -> Option<&[PeriodTriggersElement]>
pub fn period_triggers(&self) -> Option<&[PeriodTriggersElement]>
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.
sourcepub fn profile(&self) -> Option<&Profile>
pub fn profile(&self) -> Option<&Profile>
The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to “HBBTV_1_5”, HbbTV 1.5 compliant output is enabled. When set to “DVB-DASH_2014”, DVB-DASH 2014 compliant output is enabled.
sourcepub fn segment_duration_seconds(&self) -> i32
pub fn segment_duration_seconds(&self) -> i32
Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.
sourcepub fn segment_template_format(&self) -> Option<&SegmentTemplateFormat>
pub fn segment_template_format(&self) -> Option<&SegmentTemplateFormat>
Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate, with $Number$ media URLs.
sourcepub fn stream_selection(&self) -> Option<&StreamSelection>
pub fn stream_selection(&self) -> Option<&StreamSelection>
A StreamSelection configuration.
sourcepub fn suggested_presentation_delay_seconds(&self) -> i32
pub fn suggested_presentation_delay_seconds(&self) -> i32
Duration (in seconds) to delay live content before presentation.
sourcepub fn utc_timing(&self) -> Option<&UtcTiming>
pub fn utc_timing(&self) -> Option<&UtcTiming>
Determines the type of UTCTiming included in the Media Presentation Description (MPD)
sourcepub fn utc_timing_uri(&self) -> Option<&str>
pub fn utc_timing_uri(&self) -> Option<&str>
Specifies the value attribute of the UTCTiming field when utcTiming is set to HTTP-ISO, HTTP-HEAD or HTTP-XSDATE
sourceimpl DashPackage
impl DashPackage
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DashPackage
.
Trait Implementations
sourceimpl Clone for DashPackage
impl Clone for DashPackage
sourcefn clone(&self) -> DashPackage
fn clone(&self) -> DashPackage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DashPackage
impl Debug for DashPackage
sourceimpl PartialEq<DashPackage> for DashPackage
impl PartialEq<DashPackage> for DashPackage
sourcefn eq(&self, other: &DashPackage) -> bool
fn eq(&self, other: &DashPackage) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for DashPackage
Auto Trait Implementations
impl RefUnwindSafe for DashPackage
impl Send for DashPackage
impl Sync for DashPackage
impl Unpin for DashPackage
impl UnwindSafe for DashPackage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more