Function
getEncodableVideoCodecs
ts
getEncodableVideoCodecs(
checkedCodecs: VideoCodec[] = VIDEO_CODECS as unknown as VideoCodec[],
options?: {
width?: number;
height?: number;
bitrate?: number | Quality;
},
): Promise<("avc" | "hevc" | "vp9" | "av1" | "vp8")[]>;
Returns the list of all video codecs that can be encoded by the browser.
See VideoCodec
, VIDEO_CODECS
, and Quality
.