Function
canDecodeVideo
ts
canDecodeVideo(
codec: VideoCodec,
options: SetOptional<VideoDecoderConfig, 'codec'> = {},
): Promise<boolean>;Checks if the browser is able to decode the given video codec with the given parameters.
See VideoCodec and SetOptional.