Class CfnChannel.AudioOnlyHlsSettingsProperty
The configuration of an audio-only HLS output.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.MediaLive
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AudioOnlyHlsSettingsProperty : Object, CfnChannel.IAudioOnlyHlsSettingsProperty
Syntax (vb)
Public Class AudioOnlyHlsSettingsProperty
Inherits Object
Implements CfnChannel.IAudioOnlyHlsSettingsProperty
Remarks
The parent of this entity is HlsSettings.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;
var audioOnlyHlsSettingsProperty = new AudioOnlyHlsSettingsProperty {
AudioGroupId = "audioGroupId",
AudioOnlyImage = new InputLocationProperty {
PasswordParam = "passwordParam",
Uri = "uri",
Username = "username"
},
AudioTrackType = "audioTrackType",
SegmentType = "segmentType"
};
Synopsis
Constructors
AudioOnlyHlsSettingsProperty() |
Properties
AudioGroupId | Specifies the group that the audio rendition belongs to. |
AudioOnlyImage | Used with an audio-only stream. |
AudioTrackType | 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. |
SegmentType | Specifies the segment type. |
Constructors
AudioOnlyHlsSettingsProperty()
public AudioOnlyHlsSettingsProperty()
Properties
AudioGroupId
Specifies the group that the audio rendition belongs to.
public string AudioGroupId { get; set; }
Property Value
System.String
Remarks
AudioOnlyImage
Used with an audio-only stream.
public object AudioOnlyImage { get; set; }
Property Value
System.Object
Remarks
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
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.
public string AudioTrackType { get; set; }
Property Value
System.String
Remarks
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
Specifies the segment type.
public string SegmentType { get; set; }
Property Value
System.String