Function: getSupportedKeySystemConfiguration()
ts
function getSupportedKeySystemConfiguration(keySystem, configs): object;Defined in: keysystem/getSupportedKeySystemConfiguration.ts:25
Filters and returns the supported key system configuration for a given system string.
Parameters
keySystem
string
Key system string such as 'com.widevine.alpha'
configs
Iterable<MediaKeySystemConfiguration>
An array of key system configurations.
Returns
object
The first supported configuration or null if none are supported.
supportedAudio
ts
supportedAudio: MediaKeySystemMediaCapability[];supportedVideo
ts
supportedVideo: MediaKeySystemMediaCapability[];