PresetSpeke20Video

class aws_cdk.aws_mediapackagev2_alpha.PresetSpeke20Video(*values)

Bases: Enum

(experimental) The SPEKE Version 2.0 preset video associated with the encryption contract configuration of the origin endpoint.

A collection of video encryption presets.

Stability:

experimental

ExampleMetadata:

infused

Example:

# channel: Channel
# speke_role: iam.IRole


OriginEndpoint(self, "Endpoint",
    channel=channel,
    segment=Segment.cmaf(
        encryption=CmafEncryption.speke(
            method=CmafEncryptionMethod.CBCS,
            drm_systems=[CmafDrmSystem.FAIRPLAY, CmafDrmSystem.WIDEVINE],
            resource_id="my-content-id",
            url="https://example.com/speke",
            role=speke_role,
            key_rotation_interval=Duration.seconds(300),
            audio_preset=PresetSpeke20Audio.PRESET_AUDIO_2,
            video_preset=PresetSpeke20Video.PRESET_VIDEO_2
        )
    ),
    manifests=[Manifest.hls(manifest_name="index")]
)

Attributes

PRESET_VIDEO_1

(experimental) Use one content key to encrypt all of the video tracks in your stream.

Stability:

experimental

PRESET_VIDEO_2

(experimental) Use one content key to encrypt all of the SD video tracks and one content key for all HD and higher resolutions video tracks.

Stability:

experimental

PRESET_VIDEO_3

(experimental) 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.

Stability:

experimental

PRESET_VIDEO_4

(experimental) 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.

Stability:

experimental

PRESET_VIDEO_5

(experimental) 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.

Stability:

experimental

PRESET_VIDEO_6

(experimental) 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.

Stability:

experimental

PRESET_VIDEO_7

(experimental) 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.

Stability:

experimental

PRESET_VIDEO_8

(experimental) 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.

Stability:

experimental

SHARED

(experimental) Use the same content key for all of the video and audio tracks in your stream.

Stability:

experimental

UNENCRYPTED

(experimental) Don’t encrypt any of the video tracks in your stream.

Stability:

experimental