decode

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

MDN Reference