Class CfnPackagingConfiguration.CmafPackageProperty
Parameters for a packaging configuration that uses Common Media Application Format (CMAF) packaging.
Inheritance
Namespace: Amazon.CDK.AWS.MediaPackage
Assembly: Amazon.CDK.AWS.MediaPackage.dll
Syntax (csharp)
public class CmafPackageProperty : Object, CfnPackagingConfiguration.ICmafPackageProperty
Syntax (vb)
Public Class CmafPackageProperty
Inherits Object
Implements CfnPackagingConfiguration.ICmafPackageProperty
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 cmafPackageProperty = new CmafPackageProperty {
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 CmafEncryptionProperty {
SpekeKeyProvider = new SpekeKeyProviderProperty {
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url",
// the properties below are optional
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty { }
}
},
IncludeEncoderConfigurationInSegments = false,
SegmentDurationSeconds = 123
};
Synopsis
Constructors
CmafPackageProperty() |
Properties
Encryption | Parameters for encrypting content. |
HlsManifests | A list of HLS manifest configurations that are available from this endpoint. |
IncludeEncoderConfigurationInSegments | When includeEncoderConfigurationInSegments is set to true, AWS Elemental MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. |
SegmentDurationSeconds | Duration (in seconds) of each segment. |
Constructors
CmafPackageProperty()
public CmafPackageProperty()
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
IncludeEncoderConfigurationInSegments
When includeEncoderConfigurationInSegments is set to true, AWS Elemental MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment.
public object IncludeEncoderConfigurationInSegments { get; set; }
Property Value
System.Object
Remarks
This lets you use different SPS/PPS/VPS settings for your assets during content playback.
SegmentDurationSeconds
Duration (in seconds) of each segment.
public Nullable<double> SegmentDurationSeconds { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Actual segments are rounded to the nearest multiple of the source fragment duration.