AudioOnlyHlsSettingsProps
- class aws_cdk.aws_medialive_alpha.AudioOnlyHlsSettingsProps(*, audio_group_id=None, audio_only_image=None, audio_track_type=None, segment_type=None)
Bases:
object(experimental) Properties for audio-only HLS settings.
- Parameters:
audio_group_id (
Optional[str]) – (experimental) The group that this audio rendition belongs to. Default: - service defaultaudio_only_image (
Optional[FileLocation]) – (experimental) A .jpg or .png cover-art image embedded in each audio-only segment. Provide aFileLocationreferencing an S3 bucket (FileLocation.fromBucket, which auto-grants read access) or a URL (FileLocation.url). Default: - no cover artaudio_track_type (
Optional[HlsAudioTrackType]) – (experimental) How the audio rendition is signaled in the HLS manifest. Default: - service defaultsegment_type (
Optional[HlsAudioOnlySegmentType]) – (experimental) The segment container type. Default: - service default
- Stability:
experimental
- ExampleMetadata:
infused
Example:
# bucket: s3.IBucket # video: medialive.EncodeConfiguration # audio: medialive.EncodeConfiguration medialive.OutputGroupConfiguration.hls( name="hls", destinations=[medialive.OutputDestination.to_bucket(bucket, "live/stream")], outputs=[medialive.HlsOutputDefinition( encodes=[video], output_name="video", hls_settings=medialive.HlsSettings.standard( m3u8_settings=medialive.M3u8Settings.of( scte35_behavior=medialive.M3u8Scte35Behavior.PASSTHROUGH, program_num=1 ) ) ), medialive.HlsOutputDefinition( encodes=[audio], output_name="audio", hls_settings=medialive.HlsSettings.audio_only( audio_group_id="program", audio_only_image=medialive.FileLocation.from_bucket(bucket, "art/cover.png") ) ) ] )
Attributes
- audio_group_id
(experimental) The group that this audio rendition belongs to.
- Default:
service default
- Stability:
experimental
- audio_only_image
(experimental) A .jpg or .png cover-art image embedded in each audio-only segment. Provide a
FileLocationreferencing an S3 bucket (FileLocation.fromBucket, which auto-grants read access) or a URL (FileLocation.url).- Default:
no cover art
- Stability:
experimental
- audio_track_type
(experimental) How the audio rendition is signaled in the HLS manifest.
- Default:
service default
- Stability:
experimental
- segment_type
(experimental) The segment container type.
- Default:
service default
- Stability:
experimental