VideoEncoder: dequeue event - Web APIs | MDN

Syntax

Use the event name in methods like addEventListener(), or set an event handler property.

js

addEventListener("dequeue", (event) => { })

ondequeue = (event) => { }

Example

js

videoEncoder.addEventListener("dequeue", (event) => {
  // Queue up more encoding work
});

Specifications

Specification
WebCodecs
# dom-videodecoder-ondequeue

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.