#[non_exhaustive]pub struct WebvttDestinationSettingsBuilder { /* private fields */ }
Expand description
A builder for WebvttDestinationSettings
.
Implementations§
source§impl WebvttDestinationSettingsBuilder
impl WebvttDestinationSettingsBuilder
sourcepub fn accessibility(self, input: WebvttAccessibilitySubs) -> Self
pub fn accessibility(self, input: WebvttAccessibilitySubs) -> Self
If the WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing: Set Accessibility subtitles to Enabled. When you do, MediaConvert adds accessibility attributes to your output HLS or DASH manifest. For HLS manifests, MediaConvert adds the following accessibility attributes under EXT-X-MEDIA for this track: CHARACTERISTICS=“public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound” and AUTOSELECT=“YES”. For DASH manifests, MediaConvert adds the following in the adaptation set for this track:
sourcepub fn set_accessibility(self, input: Option<WebvttAccessibilitySubs>) -> Self
pub fn set_accessibility(self, input: Option<WebvttAccessibilitySubs>) -> Self
If the WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing: Set Accessibility subtitles to Enabled. When you do, MediaConvert adds accessibility attributes to your output HLS or DASH manifest. For HLS manifests, MediaConvert adds the following accessibility attributes under EXT-X-MEDIA for this track: CHARACTERISTICS=“public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound” and AUTOSELECT=“YES”. For DASH manifests, MediaConvert adds the following in the adaptation set for this track:
sourcepub fn get_accessibility(&self) -> &Option<WebvttAccessibilitySubs>
pub fn get_accessibility(&self) -> &Option<WebvttAccessibilitySubs>
If the WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing: Set Accessibility subtitles to Enabled. When you do, MediaConvert adds accessibility attributes to your output HLS or DASH manifest. For HLS manifests, MediaConvert adds the following accessibility attributes under EXT-X-MEDIA for this track: CHARACTERISTICS=“public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound” and AUTOSELECT=“YES”. For DASH manifests, MediaConvert adds the following in the adaptation set for this track:
sourcepub fn style_passthrough(self, input: WebvttStylePassthrough) -> Self
pub fn style_passthrough(self, input: WebvttStylePassthrough) -> Self
To use the available style, color, and position information from your input captions: Set Style passthrough to Enabled. MediaConvert uses default settings when style and position information is missing from your input captions. To recreate the input captions exactly: Set Style passthrough to Strict. MediaConvert automatically applies timing adjustments, including adjustments for frame rate conversion, ad avails, and input clipping. Your input captions format must be WebVTT. To ignore the style and position information from your input captions and use simplified output captions: Set Style passthrough to Disabled, or leave blank.
sourcepub fn set_style_passthrough(
self,
input: Option<WebvttStylePassthrough>
) -> Self
pub fn set_style_passthrough( self, input: Option<WebvttStylePassthrough> ) -> Self
To use the available style, color, and position information from your input captions: Set Style passthrough to Enabled. MediaConvert uses default settings when style and position information is missing from your input captions. To recreate the input captions exactly: Set Style passthrough to Strict. MediaConvert automatically applies timing adjustments, including adjustments for frame rate conversion, ad avails, and input clipping. Your input captions format must be WebVTT. To ignore the style and position information from your input captions and use simplified output captions: Set Style passthrough to Disabled, or leave blank.
sourcepub fn get_style_passthrough(&self) -> &Option<WebvttStylePassthrough>
pub fn get_style_passthrough(&self) -> &Option<WebvttStylePassthrough>
To use the available style, color, and position information from your input captions: Set Style passthrough to Enabled. MediaConvert uses default settings when style and position information is missing from your input captions. To recreate the input captions exactly: Set Style passthrough to Strict. MediaConvert automatically applies timing adjustments, including adjustments for frame rate conversion, ad avails, and input clipping. Your input captions format must be WebVTT. To ignore the style and position information from your input captions and use simplified output captions: Set Style passthrough to Disabled, or leave blank.
sourcepub fn build(self) -> WebvttDestinationSettings
pub fn build(self) -> WebvttDestinationSettings
Consumes the builder and constructs a WebvttDestinationSettings
.
Trait Implementations§
source§impl Clone for WebvttDestinationSettingsBuilder
impl Clone for WebvttDestinationSettingsBuilder
source§fn clone(&self) -> WebvttDestinationSettingsBuilder
fn clone(&self) -> WebvttDestinationSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for WebvttDestinationSettingsBuilder
impl Default for WebvttDestinationSettingsBuilder
source§fn default() -> WebvttDestinationSettingsBuilder
fn default() -> WebvttDestinationSettingsBuilder
source§impl PartialEq for WebvttDestinationSettingsBuilder
impl PartialEq for WebvttDestinationSettingsBuilder
source§fn eq(&self, other: &WebvttDestinationSettingsBuilder) -> bool
fn eq(&self, other: &WebvttDestinationSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WebvttDestinationSettingsBuilder
Auto Trait Implementations§
impl Freeze for WebvttDestinationSettingsBuilder
impl RefUnwindSafe for WebvttDestinationSettingsBuilder
impl Send for WebvttDestinationSettingsBuilder
impl Sync for WebvttDestinationSettingsBuilder
impl Unpin for WebvttDestinationSettingsBuilder
impl UnwindSafe for WebvttDestinationSettingsBuilder
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