Experimental
@aws-cdk/aws-mediapackagev2-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
TsEncryptionMethod Enum
Encryption methods for TS container type.
Example
ts
declare const channel: Channel;
declare const spekeRole: iam.IRole;
new OriginEndpoint(this, 'TsEndpoint', {
channel,
segment: Segment.ts({
encryption: TsEncryption.speke({
method: TsEncryptionMethod.SAMPLE_AES,
resourceId: 'my-content-id',
url: 'https://example.com/speke',
role: spekeRole,
}),
}),
manifests: [Manifest.hls({ manifestName: 'index' })],
});
Members
| Member | Description |
|---|---|
AES_128 | AES-128 encryption - requires Clear Key AES 128 DRM system. |
SAMPLE_AES | Sample-level AES encryption - requires FairPlay DRM system. |
Referenced by
TsSpekeEncryptionProps.methodmethodmethodMethodMethod