#[non_exhaustive]pub struct DashManifestBuilder { /* private fields */ }
Expand description
A builder for DashManifest
.
Implementations§
source§impl DashManifestBuilder
impl DashManifestBuilder
sourcepub fn manifest_layout(self, input: ManifestLayout) -> Self
pub fn manifest_layout(self, input: ManifestLayout) -> Self
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 set_manifest_layout(self, input: Option<ManifestLayout>) -> Self
pub fn set_manifest_layout(self, input: Option<ManifestLayout>) -> Self
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 get_manifest_layout(&self) -> &Option<ManifestLayout>
pub fn get_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_name(self, input: impl Into<String>) -> Self
pub fn manifest_name(self, input: impl Into<String>) -> Self
An optional string to include in the name of the manifest.
sourcepub fn set_manifest_name(self, input: Option<String>) -> Self
pub fn set_manifest_name(self, input: Option<String>) -> Self
An optional string to include in the name of the manifest.
sourcepub fn get_manifest_name(&self) -> &Option<String>
pub fn get_manifest_name(&self) -> &Option<String>
An optional string to include in the name of the manifest.
sourcepub fn min_buffer_time_seconds(self, input: i32) -> Self
pub fn min_buffer_time_seconds(self, input: i32) -> Self
Minimum duration (in seconds) that a player will buffer media before starting the presentation.
sourcepub fn set_min_buffer_time_seconds(self, input: Option<i32>) -> Self
pub fn set_min_buffer_time_seconds(self, input: Option<i32>) -> Self
Minimum duration (in seconds) that a player will buffer media before starting the presentation.
sourcepub fn get_min_buffer_time_seconds(&self) -> &Option<i32>
pub fn get_min_buffer_time_seconds(&self) -> &Option<i32>
Minimum duration (in seconds) that a player will buffer media before starting the presentation.
sourcepub fn profile(self, input: Profile) -> Self
pub fn profile(self, input: Profile) -> Self
The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to “HBBTV_1_5”, HbbTV 1.5 compliant output is enabled.
sourcepub fn set_profile(self, input: Option<Profile>) -> Self
pub fn set_profile(self, input: Option<Profile>) -> Self
The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to “HBBTV_1_5”, HbbTV 1.5 compliant output is enabled.
sourcepub fn get_profile(&self) -> &Option<Profile>
pub fn get_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.
sourcepub fn scte_markers_source(self, input: ScteMarkersSource) -> Self
pub fn scte_markers_source(self, input: ScteMarkersSource) -> Self
The source of scte markers used. When set to SEGMENTS, the scte markers are sourced from the segments of the ingested content. When set to MANIFEST, the scte markers are sourced from the manifest of the ingested content.
sourcepub fn set_scte_markers_source(self, input: Option<ScteMarkersSource>) -> Self
pub fn set_scte_markers_source(self, input: Option<ScteMarkersSource>) -> Self
The source of scte markers used. When set to SEGMENTS, the scte markers are sourced from the segments of the ingested content. When set to MANIFEST, the scte markers are sourced from the manifest of the ingested content.
sourcepub fn get_scte_markers_source(&self) -> &Option<ScteMarkersSource>
pub fn get_scte_markers_source(&self) -> &Option<ScteMarkersSource>
The source of scte markers used. When set to SEGMENTS, the scte markers are sourced from the segments of the ingested content. When set to MANIFEST, the scte markers are sourced from the manifest of the ingested content.
sourcepub fn stream_selection(self, input: StreamSelection) -> Self
pub fn stream_selection(self, input: StreamSelection) -> Self
A StreamSelection configuration.
sourcepub fn set_stream_selection(self, input: Option<StreamSelection>) -> Self
pub fn set_stream_selection(self, input: Option<StreamSelection>) -> Self
A StreamSelection configuration.
sourcepub fn get_stream_selection(&self) -> &Option<StreamSelection>
pub fn get_stream_selection(&self) -> &Option<StreamSelection>
A StreamSelection configuration.
sourcepub fn build(self) -> DashManifest
pub fn build(self) -> DashManifest
Consumes the builder and constructs a DashManifest
.
Trait Implementations§
source§impl Clone for DashManifestBuilder
impl Clone for DashManifestBuilder
source§fn clone(&self) -> DashManifestBuilder
fn clone(&self) -> DashManifestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DashManifestBuilder
impl Debug for DashManifestBuilder
source§impl Default for DashManifestBuilder
impl Default for DashManifestBuilder
source§fn default() -> DashManifestBuilder
fn default() -> DashManifestBuilder
source§impl PartialEq for DashManifestBuilder
impl PartialEq for DashManifestBuilder
source§fn eq(&self, other: &DashManifestBuilder) -> bool
fn eq(&self, other: &DashManifestBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DashManifestBuilder
Auto Trait Implementations§
impl Freeze for DashManifestBuilder
impl RefUnwindSafe for DashManifestBuilder
impl Send for DashManifestBuilder
impl Sync for DashManifestBuilder
impl Unpin for DashManifestBuilder
impl UnwindSafe for DashManifestBuilder
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