Skip to content

@videts/vide


@videts/vide / drm / detectKeySystem

Function: detectKeySystem()

detectKeySystem(candidates): Promise<KeySystem | null>

Defined in: drm/detect.ts:24

Detect the first supported key system from the given candidates. Returns the KeySystem string, or null if none are supported.

Parameters

candidates

KeySystem[]

Returns

Promise<KeySystem | null>