enum PresetSpeke20Video
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaPackageV2.Alpha.PresetSpeke20Video |
Go | github.com/aws/aws-cdk-go/awsmediapackagev2alpha/v2#PresetSpeke20Video |
Java | software.amazon.awscdk.services.mediapackagev2.alpha.PresetSpeke20Video |
Python | aws_cdk.aws_mediapackagev2_alpha.PresetSpeke20Video |
TypeScript (source) | @aws-cdk/aws-mediapackagev2-alpha ยป PresetSpeke20Video |
The SPEKE Version 2.0 preset video associated with the encryption contract configuration of the origin endpoint.
A collection of video encryption presets.
Example
declare const channel: Channel;
declare const spekeRole: iam.IRole;
new OriginEndpoint(this, 'Endpoint', {
channel,
segment: Segment.cmaf({
encryption: CmafEncryption.speke({
method: CmafEncryptionMethod.CBCS,
drmSystems: [CmafDrmSystem.FAIRPLAY, CmafDrmSystem.WIDEVINE],
resourceId: 'my-content-id',
url: 'https://example.com/speke',
role: spekeRole,
keyRotationInterval: Duration.seconds(300),
audioPreset: PresetSpeke20Audio.PRESET_AUDIO_2,
videoPreset: PresetSpeke20Video.PRESET_VIDEO_2,
}),
}),
manifests: [Manifest.hls({ manifestName: 'index' })],
});
Members
| Name | Description |
|---|---|
| PRESET_VIDEO_1 | Use one content key to encrypt all of the video tracks in your stream. |
| PRESET_VIDEO_2 | Use one content key to encrypt all of the SD video tracks and one content key for all HD and higher resolutions video tracks. |
| PRESET_VIDEO_3 | Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks and one content key for all UHD video tracks. |
| PRESET_VIDEO_4 | Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks. |
| PRESET_VIDEO_5 | Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks. |
| PRESET_VIDEO_6 | Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks. |
| PRESET_VIDEO_7 | Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks. |
| PRESET_VIDEO_8 | Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks. |
| SHARED | Use the same content key for all of the video and audio tracks in your stream. |
| UNENCRYPTED | Don't encrypt any of the video tracks in your stream. |
PRESET_VIDEO_1
Use one content key to encrypt all of the video tracks in your stream.
PRESET_VIDEO_2
Use one content key to encrypt all of the SD video tracks and one content key for all HD and higher resolutions video tracks.
PRESET_VIDEO_3
Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks and one content key for all UHD video tracks.
PRESET_VIDEO_4
Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.
PRESET_VIDEO_5
Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.
PRESET_VIDEO_6
Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.
PRESET_VIDEO_7
Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.
PRESET_VIDEO_8
Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.
SHARED
Use the same content key for all of the video and audio tracks in your stream.
UNENCRYPTED
Don't encrypt any of the video tracks in your stream.

.NET
Go
Java
Python
TypeScript (