EncryptionSettings interface
Signature:
export interface EncryptionSettings
Properties
Property | Type | Description |
---|---|---|
string |
The 16-byte key used to encrypt the data, hexadecimal encoded. |
|
string |
The 16-byte key ID used to identify the key, hexadecimal or GUID encoded. |
|
string |
The PSSH box(es) to include in the MP4, base64 encoded. This is typically given by the DRM provider. |
|
"cbcs" | "cenc" |
(Optional) The common encryption scheme used to encrypt data, as per ISO/IEC 23001-7:2016. - Default: CBCS encryption scheme (AES-CBC 10% pattern encryption). Full-sample encryption for audio tracks, subsample encryption for video tracks. - CENC encryption scheme (AES-CTR). Full-sample encryption for audio tracks, subsample encryption for video tracks. |