EncryptionSettings.encryptionScheme property

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.

Signature:

encryptionScheme?: "cbcs" | "cenc";