UNPKG

@svta/common-media-library

Version:
15 lines 633 B
/** * Filters and returns the supported key system configuration for a given system string. * * @param keySystem - Key system string such as 'com.widevine.alpha' * @param configs - An array of key system configurations. * @returns The first supported configuration or null if none are supported. * * @group DRM * @beta */ export declare function getSupportedKeySystemConfiguration(keySystem: string, configs: Iterable<MediaKeySystemConfiguration>): { supportedAudio: MediaKeySystemMediaCapability[]; supportedVideo: MediaKeySystemMediaCapability[]; }; //# sourceMappingURL=getSupportedKeySystemConfiguration.d.ts.map