interface MssPackageProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.MediaPackage.CfnOriginEndpoint.MssPackageProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmediapackage#CfnOriginEndpoint_MssPackageProperty |
Java | software.amazon.awscdk.services.mediapackage.CfnOriginEndpoint.MssPackageProperty |
Python | aws_cdk.aws_mediapackage.CfnOriginEndpoint.MssPackageProperty |
TypeScript | aws-cdk-lib » aws_mediapackage » CfnOriginEndpoint » MssPackageProperty |
Parameters for Microsoft Smooth Streaming packaging.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediapackage as mediapackage } from 'aws-cdk-lib';
const mssPackageProperty: mediapackage.CfnOriginEndpoint.MssPackageProperty = {
encryption: {
spekeKeyProvider: {
resourceId: 'resourceId',
roleArn: 'roleArn',
systemIds: ['systemIds'],
url: 'url',
// the properties below are optional
certificateArn: 'certificateArn',
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
},
},
manifestWindowSeconds: 123,
segmentDurationSeconds: 123,
streamSelection: {
maxVideoBitsPerSecond: 123,
minVideoBitsPerSecond: 123,
streamOrder: 'streamOrder',
},
};
Properties
Name | Type | Description |
---|---|---|
encryption? | IResolvable | Mss | Parameters for encrypting content. |
manifest | number | Time window (in seconds) contained in each manifest. |
segment | number | Duration (in seconds) of each fragment. |
stream | IResolvable | Stream | Limitations for outputs from the endpoint, based on the video bitrate. |
encryption?
Type:
IResolvable
|
Mss
(optional)
Parameters for encrypting content.
manifestWindowSeconds?
Type:
number
(optional)
Time window (in seconds) contained in each manifest.
segmentDurationSeconds?
Type:
number
(optional)
Duration (in seconds) of each fragment.
Actual fragments are rounded to the nearest multiple of the source fragment duration.
streamSelection?
Type:
IResolvable
|
Stream
(optional)
Limitations for outputs from the endpoint, based on the video bitrate.