Interface CfnOriginEndpoint.ICmafPackageProperty
Parameters for 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 {
Encryption = new CmafEncryptionProperty {
SpekeKeyProvider = new SpekeKeyProviderProperty {
ResourceId = "resourceId",
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url",
// the properties below are optional
CertificateArn = "certificateArn",
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty {
PresetSpeke20Audio = "presetSpeke20Audio",
PresetSpeke20Video = "presetSpeke20Video"
}
},
// the properties below are optional
ConstantInitializationVector = "constantInitializationVector",
EncryptionMethod = "encryptionMethod",
KeyRotationIntervalSeconds = 123
},
HlsManifests = new [] { new HlsManifestProperty {
Id = "id",
// the properties below are optional
AdMarkers = "adMarkers",
AdsOnDeliveryRestrictions = "adsOnDeliveryRestrictions",
AdTriggers = new [] { "adTriggers" },
IncludeIframeOnlyStream = false,
ManifestName = "manifestName",
PlaylistType = "playlistType",
PlaylistWindowSeconds = 123,
ProgramDateTimeIntervalSeconds = 123,
Url = "url"
} },
SegmentDurationSeconds = 123,
SegmentPrefix = "segmentPrefix",
StreamSelection = new StreamSelectionProperty {
MaxVideoBitsPerSecond = 123,
MinVideoBitsPerSecond = 123,
StreamOrder = "streamOrder"
}
};
Synopsis
Properties
Encryption | Parameters for encrypting content. |
Hls |
A list of HLS manifest configurations that are available from this endpoint. |
Segment |
Duration (in seconds) of each segment. |
Segment |
An optional custom string that is prepended to the name of each segment. |
Stream |
Limitations for outputs from the endpoint, based on the video bitrate. |
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.
virtual object HlsManifests { get; }
Property Value
System.
Remarks
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 segment duration.
SegmentPrefix
An optional custom string that is prepended to the name of each segment.
virtual string SegmentPrefix { get; }
Property Value
System.
Remarks
If not specified, the segment prefix defaults to the ChannelId.
StreamSelection
Limitations for outputs from the endpoint, based on the video bitrate.
virtual object StreamSelection { get; }
Property Value
System.