Struct aws_sdk_mediaconvert::types::builders::HlsSettingsBuilder
source · #[non_exhaustive]pub struct HlsSettingsBuilder { /* private fields */ }
Expand description
A builder for HlsSettings
.
Implementations§
source§impl HlsSettingsBuilder
impl HlsSettingsBuilder
sourcepub fn audio_group_id(self, input: impl Into<String>) -> Self
pub fn audio_group_id(self, input: impl Into<String>) -> Self
Specifies the group to which the audio rendition belongs.
sourcepub fn set_audio_group_id(self, input: Option<String>) -> Self
pub fn set_audio_group_id(self, input: Option<String>) -> Self
Specifies the group to which the audio rendition belongs.
sourcepub fn get_audio_group_id(&self) -> &Option<String>
pub fn get_audio_group_id(&self) -> &Option<String>
Specifies the group to which the audio rendition belongs.
sourcepub fn audio_only_container(self, input: HlsAudioOnlyContainer) -> Self
pub fn audio_only_container(self, input: HlsAudioOnlyContainer) -> Self
Use this setting only in audio-only outputs. Choose MPEG-2 Transport Stream (M2TS) to create a file in an MPEG2-TS container. Keep the default value Automatic to create an audio-only file in a raw container. Regardless of the value that you specify here, if this output has video, the service will place the output into an MPEG2-TS container.
sourcepub fn set_audio_only_container(
self,
input: Option<HlsAudioOnlyContainer>
) -> Self
pub fn set_audio_only_container( self, input: Option<HlsAudioOnlyContainer> ) -> Self
Use this setting only in audio-only outputs. Choose MPEG-2 Transport Stream (M2TS) to create a file in an MPEG2-TS container. Keep the default value Automatic to create an audio-only file in a raw container. Regardless of the value that you specify here, if this output has video, the service will place the output into an MPEG2-TS container.
sourcepub fn get_audio_only_container(&self) -> &Option<HlsAudioOnlyContainer>
pub fn get_audio_only_container(&self) -> &Option<HlsAudioOnlyContainer>
Use this setting only in audio-only outputs. Choose MPEG-2 Transport Stream (M2TS) to create a file in an MPEG2-TS container. Keep the default value Automatic to create an audio-only file in a raw container. Regardless of the value that you specify here, if this output has video, the service will place the output into an MPEG2-TS container.
sourcepub fn audio_rendition_sets(self, input: impl Into<String>) -> Self
pub fn audio_rendition_sets(self, input: impl Into<String>) -> Self
List all the audio groups that are used with the video output stream. Input all the audio GROUP-IDs that are associated to the video, separate by ‘,’.
sourcepub fn set_audio_rendition_sets(self, input: Option<String>) -> Self
pub fn set_audio_rendition_sets(self, input: Option<String>) -> Self
List all the audio groups that are used with the video output stream. Input all the audio GROUP-IDs that are associated to the video, separate by ‘,’.
sourcepub fn get_audio_rendition_sets(&self) -> &Option<String>
pub fn get_audio_rendition_sets(&self) -> &Option<String>
List all the audio groups that are used with the video output stream. Input all the audio GROUP-IDs that are associated to the video, separate by ‘,’.
sourcepub fn audio_track_type(self, input: HlsAudioTrackType) -> Self
pub fn audio_track_type(self, input: HlsAudioTrackType) -> Self
Four types of audio-only tracks are supported: Audio-Only Variant Stream The client can play back this audio-only stream instead of video in low-bandwidth scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest. Alternate Audio, Auto Select, Default Alternate rendition that the client should try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=YES, AUTOSELECT=YES Alternate Audio, Auto Select, Not Default Alternate rendition that the client may try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES Alternate Audio, not Auto Select Alternate rendition that the client will not try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=NO
sourcepub fn set_audio_track_type(self, input: Option<HlsAudioTrackType>) -> Self
pub fn set_audio_track_type(self, input: Option<HlsAudioTrackType>) -> Self
Four types of audio-only tracks are supported: Audio-Only Variant Stream The client can play back this audio-only stream instead of video in low-bandwidth scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest. Alternate Audio, Auto Select, Default Alternate rendition that the client should try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=YES, AUTOSELECT=YES Alternate Audio, Auto Select, Not Default Alternate rendition that the client may try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES Alternate Audio, not Auto Select Alternate rendition that the client will not try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=NO
sourcepub fn get_audio_track_type(&self) -> &Option<HlsAudioTrackType>
pub fn get_audio_track_type(&self) -> &Option<HlsAudioTrackType>
Four types of audio-only tracks are supported: Audio-Only Variant Stream The client can play back this audio-only stream instead of video in low-bandwidth scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest. Alternate Audio, Auto Select, Default Alternate rendition that the client should try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=YES, AUTOSELECT=YES Alternate Audio, Auto Select, Not Default Alternate rendition that the client may try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES Alternate Audio, not Auto Select Alternate rendition that the client will not try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=NO
sourcepub fn descriptive_video_service_flag(
self,
input: HlsDescriptiveVideoServiceFlag
) -> Self
pub fn descriptive_video_service_flag( self, input: HlsDescriptiveVideoServiceFlag ) -> Self
Specify whether to flag this audio track as descriptive video service (DVS) in your HLS parent manifest. When you choose Flag, MediaConvert includes the parameter CHARACTERISTICS=“public.accessibility.describes-video” in the EXT-X-MEDIA entry for this track. When you keep the default choice, Don’t flag, MediaConvert leaves this parameter out. The DVS flag can help with accessibility on Apple devices. For more information, see the Apple documentation.
sourcepub fn set_descriptive_video_service_flag(
self,
input: Option<HlsDescriptiveVideoServiceFlag>
) -> Self
pub fn set_descriptive_video_service_flag( self, input: Option<HlsDescriptiveVideoServiceFlag> ) -> Self
Specify whether to flag this audio track as descriptive video service (DVS) in your HLS parent manifest. When you choose Flag, MediaConvert includes the parameter CHARACTERISTICS=“public.accessibility.describes-video” in the EXT-X-MEDIA entry for this track. When you keep the default choice, Don’t flag, MediaConvert leaves this parameter out. The DVS flag can help with accessibility on Apple devices. For more information, see the Apple documentation.
sourcepub fn get_descriptive_video_service_flag(
&self
) -> &Option<HlsDescriptiveVideoServiceFlag>
pub fn get_descriptive_video_service_flag( &self ) -> &Option<HlsDescriptiveVideoServiceFlag>
Specify whether to flag this audio track as descriptive video service (DVS) in your HLS parent manifest. When you choose Flag, MediaConvert includes the parameter CHARACTERISTICS=“public.accessibility.describes-video” in the EXT-X-MEDIA entry for this track. When you keep the default choice, Don’t flag, MediaConvert leaves this parameter out. The DVS flag can help with accessibility on Apple devices. For more information, see the Apple documentation.
sourcepub fn i_frame_only_manifest(self, input: HlsIFrameOnlyManifest) -> Self
pub fn i_frame_only_manifest(self, input: HlsIFrameOnlyManifest) -> Self
Choose Include to have MediaConvert generate a child manifest that lists only the I-frames for this rendition, in addition to your regular manifest for this rendition. You might use this manifest as part of a workflow that creates preview functions for your video. MediaConvert adds both the I-frame only child manifest and the regular child manifest to the parent manifest. When you don’t need the I-frame only child manifest, keep the default value Exclude.
sourcepub fn set_i_frame_only_manifest(
self,
input: Option<HlsIFrameOnlyManifest>
) -> Self
pub fn set_i_frame_only_manifest( self, input: Option<HlsIFrameOnlyManifest> ) -> Self
Choose Include to have MediaConvert generate a child manifest that lists only the I-frames for this rendition, in addition to your regular manifest for this rendition. You might use this manifest as part of a workflow that creates preview functions for your video. MediaConvert adds both the I-frame only child manifest and the regular child manifest to the parent manifest. When you don’t need the I-frame only child manifest, keep the default value Exclude.
sourcepub fn get_i_frame_only_manifest(&self) -> &Option<HlsIFrameOnlyManifest>
pub fn get_i_frame_only_manifest(&self) -> &Option<HlsIFrameOnlyManifest>
Choose Include to have MediaConvert generate a child manifest that lists only the I-frames for this rendition, in addition to your regular manifest for this rendition. You might use this manifest as part of a workflow that creates preview functions for your video. MediaConvert adds both the I-frame only child manifest and the regular child manifest to the parent manifest. When you don’t need the I-frame only child manifest, keep the default value Exclude.
sourcepub fn segment_modifier(self, input: impl Into<String>) -> Self
pub fn segment_modifier(self, input: impl Into<String>) -> Self
Use this setting to add an identifying string to the filename of each segment. The service adds this string between the name modifier and segment index number. You can use format identifiers in the string. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/using-variables-in-your-job-settings.html
sourcepub fn set_segment_modifier(self, input: Option<String>) -> Self
pub fn set_segment_modifier(self, input: Option<String>) -> Self
Use this setting to add an identifying string to the filename of each segment. The service adds this string between the name modifier and segment index number. You can use format identifiers in the string. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/using-variables-in-your-job-settings.html
sourcepub fn get_segment_modifier(&self) -> &Option<String>
pub fn get_segment_modifier(&self) -> &Option<String>
Use this setting to add an identifying string to the filename of each segment. The service adds this string between the name modifier and segment index number. You can use format identifiers in the string. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/using-variables-in-your-job-settings.html
sourcepub fn build(self) -> HlsSettings
pub fn build(self) -> HlsSettings
Consumes the builder and constructs a HlsSettings
.
Trait Implementations§
source§impl Clone for HlsSettingsBuilder
impl Clone for HlsSettingsBuilder
source§fn clone(&self) -> HlsSettingsBuilder
fn clone(&self) -> HlsSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HlsSettingsBuilder
impl Debug for HlsSettingsBuilder
source§impl Default for HlsSettingsBuilder
impl Default for HlsSettingsBuilder
source§fn default() -> HlsSettingsBuilder
fn default() -> HlsSettingsBuilder
source§impl PartialEq for HlsSettingsBuilder
impl PartialEq for HlsSettingsBuilder
source§fn eq(&self, other: &HlsSettingsBuilder) -> bool
fn eq(&self, other: &HlsSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HlsSettingsBuilder
Auto Trait Implementations§
impl Freeze for HlsSettingsBuilder
impl RefUnwindSafe for HlsSettingsBuilder
impl Send for HlsSettingsBuilder
impl Sync for HlsSettingsBuilder
impl Unpin for HlsSettingsBuilder
impl UnwindSafe for HlsSettingsBuilder
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