Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Media.PlayerEventsAddedEvent
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { PlayerEventsAddedEvent } = Protocol.Media;

Send events as a list, allowing them to be batched on the browser for less congestion. If batched, events must ALWAYS be in chronological order.

Properties

playerId: PlayerId
events: PlayerEvent[]