Struct aws_sdk_mediapackagevod::types::DashPackage
source · #[non_exhaustive]pub struct DashPackage {
pub dash_manifests: Option<Vec<DashManifest>>,
pub encryption: Option<DashEncryption>,
pub include_encoder_configuration_in_segments: Option<bool>,
pub include_iframe_only_stream: Option<bool>,
pub period_triggers: Option<Vec<PeriodTriggersElement>>,
pub segment_duration_seconds: Option<i32>,
pub segment_template_format: Option<SegmentTemplateFormat>,
}
Expand description
A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.dash_manifests: Option<Vec<DashManifest>>
A list of DASH manifest configurations.
encryption: Option<DashEncryption>
A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration.
include_encoder_configuration_in_segments: Option<bool>
When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder’s Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.
include_iframe_only_stream: Option<bool>
When enabled, an I-Frame only stream will be included in the output.
period_triggers: Option<Vec<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 Asset contains SCTE-35 ad markers.
segment_duration_seconds: Option<i32>
Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.
segment_template_format: 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.
Implementations§
source§impl DashPackage
impl DashPackage
sourcepub fn dash_manifests(&self) -> &[DashManifest]
pub fn dash_manifests(&self) -> &[DashManifest]
A list of DASH manifest configurations.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .dash_manifests.is_none()
.
sourcepub fn encryption(&self) -> Option<&DashEncryption>
pub fn encryption(&self) -> Option<&DashEncryption>
A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration.
sourcepub fn include_encoder_configuration_in_segments(&self) -> Option<bool>
pub fn include_encoder_configuration_in_segments(&self) -> Option<bool>
When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder’s Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.
sourcepub fn include_iframe_only_stream(&self) -> Option<bool>
pub fn include_iframe_only_stream(&self) -> Option<bool>
When enabled, an I-Frame only stream will be included in the output.
sourcepub fn period_triggers(&self) -> &[PeriodTriggersElement]
pub fn period_triggers(&self) -> &[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 Asset contains SCTE-35 ad markers.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .period_triggers.is_none()
.
sourcepub fn segment_duration_seconds(&self) -> Option<i32>
pub fn segment_duration_seconds(&self) -> Option<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.
source§impl DashPackage
impl DashPackage
sourcepub fn builder() -> DashPackageBuilder
pub fn builder() -> DashPackageBuilder
Creates a new builder-style object to manufacture DashPackage
.
Trait Implementations§
source§impl Clone for DashPackage
impl Clone for DashPackage
source§fn clone(&self) -> DashPackage
fn clone(&self) -> DashPackage
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DashPackage
impl Debug for DashPackage
source§impl PartialEq for DashPackage
impl PartialEq for DashPackage
source§fn eq(&self, other: &DashPackage) -> bool
fn eq(&self, other: &DashPackage) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DashPackage
Auto Trait Implementations§
impl Freeze for DashPackage
impl RefUnwindSafe for DashPackage
impl Send for DashPackage
impl Sync for DashPackage
impl Unpin for DashPackage
impl UnwindSafe for DashPackage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more