@svta/common-media-library
Version:
A common library for media playback in JavaScript
15 lines • 589 B
TypeScript
import type { ContentProtection } from '../common/ContentProtection.js';
/**
* Finds and returns the ContentProtection element for MP4 Common Encryption.
*
* @param cpArray - Array of ContentProtection elements.
* @returns The Common Encryption content protection element, or null if not found.
*
* @group DRM
* @beta
*
* @example
* {@includeCode ../../../test/drm/cenc/findCencContentProtection.test.ts#example}
*/
export declare function findCencContentProtection(cpArray: ContentProtection[]): ContentProtection | null;
//# sourceMappingURL=findCencContentProtection.d.ts.map