aws-cdk-lib.aws_medialive.CfnChannel.AudioOnlyHlsSettingsProperty

interface AudioOnlyHlsSettingsProperty

LanguageType name
.NETAmazon.CDK.AWS.MediaLive.CfnChannel.AudioOnlyHlsSettingsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmedialive#CfnChannel_AudioOnlyHlsSettingsProperty
Javasoftware.amazon.awscdk.services.medialive.CfnChannel.AudioOnlyHlsSettingsProperty
Pythonaws_cdk.aws_medialive.CfnChannel.AudioOnlyHlsSettingsProperty
TypeScript aws-cdk-lib » aws_medialive » CfnChannel » AudioOnlyHlsSettingsProperty

The configuration of an audio-only HLS output.

The parent of this entity is HlsSettings.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const audioOnlyHlsSettingsProperty: medialive.CfnChannel.AudioOnlyHlsSettingsProperty = {
  audioGroupId: 'audioGroupId',
  audioOnlyImage: {
    passwordParam: 'passwordParam',
    uri: 'uri',
    username: 'username',
  },
  audioTrackType: 'audioTrackType',
  segmentType: 'segmentType',
};

Properties

NameTypeDescription
audioGroupId?stringSpecifies the group that the audio rendition belongs to.
audioOnlyImage?IResolvable | InputLocationPropertyUsed with an audio-only stream.
audioTrackType?stringFour 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.
segmentType?stringSpecifies the segment type.

audioGroupId?

Type: string (optional)

Specifies the group that the audio rendition belongs to.


audioOnlyImage?

Type: IResolvable | InputLocationProperty (optional)

Used with an audio-only stream.

It must be a .jpg or .png file. If given, this image is used as the cover art for the audio-only output. Ideally, it should be formatted for an iPhone screen for two reasons. The iPhone does not resize the image; instead, it crops a centered image on the top/bottom and left/right. Additionally, this image file gets saved bit-for-bit into every 10-second segment file, so it increases bandwidth by {image file size} * {segment count} * {user count.}.


audioTrackType?

Type: string (optional)

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 might 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.


segmentType?

Type: string (optional)

Specifies the segment type.