Class CfnPackagingConfiguration.HlsPackageProperty
Parameters for a packaging configuration that uses HTTP Live Streaming (HLS) packaging.
Inheritance
Namespace: Amazon.CDK.AWS.MediaPackage
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class HlsPackageProperty : Object, CfnPackagingConfiguration.IHlsPackageProperty
Syntax (vb)
Public Class HlsPackageProperty
Inherits Object
Implements CfnPackagingConfiguration.IHlsPackageProperty
Remarks
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.MediaPackage;
var hlsPackageProperty = new HlsPackageProperty {
HlsManifests = new [] { new HlsManifestProperty {
AdMarkers = "adMarkers",
IncludeIframeOnlyStream = false,
ManifestName = "manifestName",
ProgramDateTimeIntervalSeconds = 123,
RepeatExtXKey = false,
StreamSelection = new StreamSelectionProperty {
MaxVideoBitsPerSecond = 123,
MinVideoBitsPerSecond = 123,
StreamOrder = "streamOrder"
}
} },
// the properties below are optional
Encryption = new HlsEncryptionProperty {
SpekeKeyProvider = new SpekeKeyProviderProperty {
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url",
// the properties below are optional
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty {
PresetSpeke20Audio = "presetSpeke20Audio",
PresetSpeke20Video = "presetSpeke20Video"
}
},
// the properties below are optional
ConstantInitializationVector = "constantInitializationVector",
EncryptionMethod = "encryptionMethod"
},
IncludeDvbSubtitles = false,
SegmentDurationSeconds = 123,
UseAudioRenditionGroup = false
};
Synopsis
Constructors
HlsPackageProperty() |
Properties
Encryption | Parameters for encrypting content. |
HlsManifests | A list of HLS manifest configurations that are available from this endpoint. |
IncludeDvbSubtitles | When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output. |
SegmentDurationSeconds | Duration (in seconds) of each fragment. |
UseAudioRenditionGroup | When true, AWS Elemental MediaPackage bundles all audio tracks in a rendition group. |
Constructors
HlsPackageProperty()
public HlsPackageProperty()
Properties
Encryption
Parameters for encrypting content.
public object Encryption { get; set; }
Property Value
System.Object
Remarks
HlsManifests
A list of HLS manifest configurations that are available from this endpoint.
public object HlsManifests { get; set; }
Property Value
System.Object
Remarks
IncludeDvbSubtitles
When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.
public object IncludeDvbSubtitles { get; set; }
Property Value
System.Object
Remarks
SegmentDurationSeconds
Duration (in seconds) of each fragment.
public Nullable<double> SegmentDurationSeconds { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Actual fragments are rounded to the nearest multiple of the source fragment duration.
UseAudioRenditionGroup
When true, AWS Elemental MediaPackage bundles all audio tracks in a rendition group.
public object UseAudioRenditionGroup { get; set; }
Property Value
System.Object
Remarks
All other tracks in the stream can be used with any audio rendition from the group.