decode

external fun decode(chunk: EncodedVideoChunk)(source)

The decode() method of the VideoDecoder interface enqueues a control message to decode a given chunk of video.

MDN Reference