Interface CfnPackagingConfiguration.ICmafPackageProperty
Parameters for a packaging configuration that uses Common Media Application Format (CMAF) packaging.
Namespace: Amazon.CDK.AWS.MediaPackage
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICmafPackageProperty
Syntax (vb)
Public Interface 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 {
PresetSpeke20Audio = "presetSpeke20Audio",
PresetSpeke20Video = "presetSpeke20Video"
}
}
},
IncludeEncoderConfigurationInSegments = false,
SegmentDurationSeconds = 123
};
Synopsis
Properties
Encryption | Parameters for encrypting content. |
Hls |
A list of HLS manifest configurations that are available from this endpoint. |
Include |
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. |
Segment |
Duration (in seconds) of each segment. |
Properties
Encryption
Parameters for encrypting content.
virtual object Encryption { get; }
Property Value
System.
Remarks
HlsManifests
A list of HLS manifest configurations that are available from this endpoint.
object HlsManifests { get; }
Property Value
System.
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.
virtual object IncludeEncoderConfigurationInSegments { get; }
Property Value
System.
Remarks
This lets you use different SPS/PPS/VPS settings for your assets during content playback.
SegmentDurationSeconds
Duration (in seconds) of each segment.
virtual Nullable<double> SegmentDurationSeconds { get; }
Property Value
System.
Remarks
Actual segments are rounded to the nearest multiple of the source fragment duration.