UNPKG

@svta/common-media-library

Version:
16 lines 636 B
/** * Returns the PSSH box associated with the given key system from the concatenated * list of PSSH boxes in the provided initData. * * @param uuid - The desired key system UUID * @param initData - 'cenc' initialization data. Concatenated list of PSSH boxes. * @returns The PSSH box ArrayBuffer corresponding to the given key system, or null if not found. * * @group DRM * @beta * * @example * {@includeCode ../../../test/drm/cenc/getPsshForKeySystem.test.ts#example} */ export declare function getPsshForKeySystem(uuid: string, initData: ArrayBuffer): ArrayBuffer | null; //# sourceMappingURL=getPsshForKeySystem.d.ts.map