Class CfnOriginEndpoint.HlsPackageProperty
Parameters for Apple HLS packaging.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.MediaPackage
Assembly: Amazon.CDK.AWS.MediaPackage.dll
Syntax (csharp)
public class HlsPackageProperty : Object, CfnOriginEndpoint.IHlsPackageProperty
Syntax (vb)
Public Class HlsPackageProperty
Inherits Object
Implements CfnOriginEndpoint.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 {
AdMarkers = "adMarkers",
AdsOnDeliveryRestrictions = "adsOnDeliveryRestrictions",
AdTriggers = new [] { "adTriggers" },
Encryption = new HlsEncryptionProperty {
SpekeKeyProvider = new SpekeKeyProviderProperty {
ResourceId = "resourceId",
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url",
// the properties below are optional
CertificateArn = "certificateArn",
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty { }
},
// the properties below are optional
ConstantInitializationVector = "constantInitializationVector",
EncryptionMethod = "encryptionMethod",
KeyRotationIntervalSeconds = 123,
RepeatExtXKey = false
},
IncludeDvbSubtitles = false,
IncludeIframeOnlyStream = false,
PlaylistType = "playlistType",
PlaylistWindowSeconds = 123,
ProgramDateTimeIntervalSeconds = 123,
SegmentDurationSeconds = 123,
StreamSelection = new StreamSelectionProperty {
MaxVideoBitsPerSecond = 123,
MinVideoBitsPerSecond = 123,
StreamOrder = "streamOrder"
},
UseAudioRenditionGroup = false
};
Synopsis
Constructors
HlsPackageProperty() |
Properties
AdMarkers | Controls how ad markers are included in the packaged endpoint. |
AdsOnDeliveryRestrictions | The flags on SCTE-35 segmentation descriptors that have to be present for AWS Elemental MediaPackage to insert ad markers in the output manifest. |
AdTriggers | Specifies the SCTE-35 message types that AWS Elemental MediaPackage treats as ad markers in the output manifest. |
Encryption | Parameters for encrypting content. |
IncludeDvbSubtitles | When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output. |
IncludeIframeOnlyStream | Only applies to stream sets with a single video track. |
PlaylistType | When specified as either |
PlaylistWindowSeconds | Time window (in seconds) contained in each parent manifest. |
ProgramDateTimeIntervalSeconds | Inserts |
SegmentDurationSeconds | Duration (in seconds) of each fragment. |
StreamSelection | Limitations for outputs from the endpoint, based on the video bitrate. |
UseAudioRenditionGroup | When true, AWS Elemental MediaPackage bundles all audio tracks in a rendition group. |
Constructors
HlsPackageProperty()
public HlsPackageProperty()
Properties
AdMarkers
Controls how ad markers are included in the packaged endpoint.
public string AdMarkers { get; set; }
Property Value
System.String
Remarks
AdsOnDeliveryRestrictions
The flags on SCTE-35 segmentation descriptors that have to be present for AWS Elemental MediaPackage to insert ad markers in the output manifest.
public string AdsOnDeliveryRestrictions { get; set; }
Property Value
System.String
Remarks
For information about SCTE-35 in AWS Elemental MediaPackage , see SCTE-35 Message Options in AWS Elemental MediaPackage .
AdTriggers
Specifies the SCTE-35 message types that AWS Elemental MediaPackage treats as ad markers in the output manifest.
public string[] AdTriggers { get; set; }
Property Value
System.String[]
Remarks
Encryption
Parameters for encrypting content.
public object Encryption { 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
IncludeIframeOnlyStream
Only applies to stream sets with a single video track.
public object IncludeIframeOnlyStream { get; set; }
Property Value
System.Object
Remarks
When true, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included.
PlaylistType
When specified as either event
or vod
, a corresponding EXT-X-PLAYLIST-TYPE
entry is included in the media playlist.
public string PlaylistType { get; set; }
Property Value
System.String
Remarks
Indicates if the playlist is live-to-VOD content.
PlaylistWindowSeconds
Time window (in seconds) contained in each parent manifest.
public Nullable<double> PlaylistWindowSeconds { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
ProgramDateTimeIntervalSeconds
Inserts EXT-X-PROGRAM-DATE-TIME
tags in the output manifest at the interval that you specify.
public Nullable<double> ProgramDateTimeIntervalSeconds { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Additionally, ID3Timed metadata messages are generated every 5 seconds starting when the content was ingested.
Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.
Omit this attribute or enter 0
to indicate that the EXT-X-PROGRAM-DATE-TIME
tags are not included in the manifest.
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.
StreamSelection
Limitations for outputs from the endpoint, based on the video bitrate.
public object StreamSelection { get; set; }
Property Value
System.Object
Remarks
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.