requestVideoFrameCallback method

int requestVideoFrameCallback(
  1. VideoFrameRequestCallback callback
)

The requestVideoFrameCallback() method of the HTMLVideoElement interface registers a callback function that runs when a new video frame is sent to the compositor. This enables developers to perform efficient operations on each video frame.

Implementation

external int requestVideoFrameCallback(VideoFrameRequestCallback callback);