@videts/vide / drm / FairPlayConfig
Interface: FairPlayConfig
Defined in: drm/types.ts:31
FairPlay DRM configuration.
Properties
| Property | Type | Description |
|---|---|---|
certificateUrl | string | - |
encryptionScheme? | "cenc" | "cbcs" | "cbcs-1-9" | Encryption scheme. FairPlay typically uses "cbcs". |
headers? | Record<string, string> | - |
licenseUrl | string | - |
prepareLicenseRequest? | (payload) => Uint8Array<ArrayBufferLike> | Promise<Uint8Array<ArrayBufferLike>> | - |
processLicenseResponse? | (response) => Uint8Array<ArrayBufferLike> | Promise<Uint8Array<ArrayBufferLike>> | - |
retry? | DrmRetryConfig | - |
transformInitData? | (initData, initDataType) => Uint8Array<ArrayBufferLike> | Promise<Uint8Array<ArrayBufferLike>> | Transform init data before generateRequest(). Used for vendor-specific content ID extraction. |