interface AudioOnlyHlsSettingsProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.AudioOnlyHlsSettingsProps |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#AudioOnlyHlsSettingsProps |
Java | software.amazon.awscdk.services.medialive.alpha.AudioOnlyHlsSettingsProps |
Python | aws_cdk.aws_medialive_alpha.AudioOnlyHlsSettingsProps |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป AudioOnlyHlsSettingsProps |
Properties for audio-only HLS settings.
Example
declare const bucket: s3.IBucket;
declare const video: medialive.EncodeConfiguration;
declare const audio: medialive.EncodeConfiguration;
medialive.OutputGroupConfiguration.hls({
name: 'hls',
destinations: [medialive.OutputDestination.toBucket(bucket, 'live/stream')],
outputs: [
{
encodes: [video],
outputName: 'video',
hlsSettings: medialive.HlsSettings.standard({
m3u8Settings: medialive.M3u8Settings.of({
scte35Behavior: medialive.M3u8Scte35Behavior.PASSTHROUGH,
programNum: 1,
}),
}),
},
{
encodes: [audio],
outputName: 'audio',
hlsSettings: medialive.HlsSettings.audioOnly({
audioGroupId: 'program',
audioOnlyImage: medialive.FileLocation.fromBucket(bucket, 'art/cover.png'),
}),
},
],
});
Properties
| Name | Type | Description |
|---|---|---|
| audio | string | The group that this audio rendition belongs to. |
| audio | File | A .jpg or .png cover-art image embedded in each audio-only segment. Provide a FileLocation referencing an S3 bucket (FileLocation.fromBucket, which auto-grants read access) or a URL (FileLocation.url). |
| audio | Hls | How the audio rendition is signaled in the HLS manifest. |
| segment | Hls | The segment container type. |
audioGroupId?
Type:
string
(optional, default: service default)
The group that this audio rendition belongs to.
audioOnlyImage?
Type:
File
(optional, default: no cover art)
A .jpg or .png cover-art image embedded in each audio-only segment. Provide a FileLocation referencing an S3 bucket (FileLocation.fromBucket, which auto-grants read access) or a URL (FileLocation.url).
audioTrackType?
Type:
Hls
(optional, default: service default)
How the audio rendition is signaled in the HLS manifest.
segmentType?
Type:
Hls
(optional, default: service default)
The segment container type.

.NET
Go
Java
Python
TypeScript (