VideoDecoder
The VideoDecoder
interface of the WebCodecs API decodes chunks of video. Available only in secure contexts.
Properties
Link copied to clipboard
The decodeQueueSize
read-only property of the VideoDecoder interface returns the number of pending decode requests in the queue.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The state
property of the VideoDecoder interface returns the current state of the underlying codec.
Functions
Link copied to clipboard
The configure()
method of the VideoDecoder interface enqueues a control message to configure the video decoder for decoding chunks.
Link copied to clipboard
The decode()
method of the VideoDecoder interface enqueues a control message to decode a given chunk of video.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard