interface HlsPackageProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.MediaPackage.Mixins.CfnPackagingConfigurationPropsMixin.HlsPackageProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsmediapackage/mixins#CfnPackagingConfigurationPropsMixin_HlsPackageProperty |
Java | software.amazon.awscdk.mixins.preview.services.mediapackage.mixins.CfnPackagingConfigurationPropsMixin.HlsPackageProperty |
Python | aws_cdk.mixins_preview.aws_mediapackage.mixins.CfnPackagingConfigurationPropsMixin.HlsPackageProperty |
TypeScript | @aws-cdk/mixins-preview » aws_mediapackage » mixins » CfnPackagingConfigurationPropsMixin » HlsPackageProperty |
Parameters for a packaging configuration that uses HTTP Live Streaming (HLS) packaging.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as mediapackage_mixins } from '@aws-cdk/mixins-preview/aws-mediapackage';
const hlsPackageProperty: mediapackage_mixins.CfnPackagingConfigurationPropsMixin.HlsPackageProperty = {
encryption: {
constantInitializationVector: 'constantInitializationVector',
encryptionMethod: 'encryptionMethod',
spekeKeyProvider: {
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
roleArn: 'roleArn',
systemIds: ['systemIds'],
url: 'url',
},
},
hlsManifests: [{
adMarkers: 'adMarkers',
includeIframeOnlyStream: false,
manifestName: 'manifestName',
programDateTimeIntervalSeconds: 123,
repeatExtXKey: false,
streamSelection: {
maxVideoBitsPerSecond: 123,
minVideoBitsPerSecond: 123,
streamOrder: 'streamOrder',
},
}],
includeDvbSubtitles: false,
segmentDurationSeconds: 123,
useAudioRenditionGroup: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| encryption? | IResolvable | Hls | Parameters for encrypting content. |
| hls | IResolvable | (IResolvable | Hls)[] | A list of HLS manifest configurations that are available from this endpoint. |
| include | boolean | IResolvable | When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output. |
| segment | number | Duration (in seconds) of each fragment. |
| use | boolean | IResolvable | When true, AWS Elemental MediaPackage bundles all audio tracks in a rendition group. |
encryption?
Type:
IResolvable | Hls
(optional)
Parameters for encrypting content.
hlsManifests?
Type:
IResolvable | (IResolvable | Hls)[]
(optional)
A list of HLS manifest configurations that are available from this endpoint.
includeDvbSubtitles?
Type:
boolean | IResolvable
(optional)
When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.
segmentDurationSeconds?
Type:
number
(optional)
Duration (in seconds) of each fragment.
Actual fragments are rounded to the nearest multiple of the source fragment duration.
useAudioRenditionGroup?
Type:
boolean | IResolvable
(optional)
When true, AWS Elemental MediaPackage bundles all audio tracks in a rendition group.
All other tracks in the stream can be used with any audio rendition from the group.

.NET
Go
Java
Python
TypeScript