PSSH
class PSSH
Helper for parsing and building PSSH (Protection System Specific Header) boxes. Supports both Widevine and PlayReady headers and provides conversions.
Constructors
Properties
Link copied to clipboard
Crypto period this header names, for content using key rotation, or null.
Link copied to clipboard
Duration of each crypto period in seconds, for content using key rotation, or null.
Link copied to clipboard
Encryption scheme this header declares, e.g. AESCTR or AESCBC, or null when the header does not say.
Functions
Link copied to clipboard
Export the PSSH object as a full PSSH box in Base64 form.
Link copied to clipboard
Point this PSSH at a specific crypto period.
Link copied to clipboard
Overload that accepts a mixed list of UUID | String(hex/base64) | ByteArray.
Link copied to clipboard
Link copied to clipboard
Convert PlayReady PSSH to a Widevine PSSH.