Function
getDecodableVideoCodecs
ts
getDecodableVideoCodecs(
checkedCodecs: VideoCodec[] = VIDEO_CODECS as unknown as VideoCodec[],
options?: SetOptional<VideoDecoderConfig, 'codec'>,
): Promise<("avc" | "hevc" | "vp9" | "av1" | "vp8")[]>;Returns the list of all video codecs that can be decoded by the browser.
See VideoCodec, VIDEO_CODECS, and SetOptional.