blob: 4c76b8e7d4f75e40b013adc3c6a6ed8f8585a0b2 [file] [log] [blame]
cdumez@apple.comdec36532020-05-29 03:00:55 +00001// GENERATED CONTENT - DO NOT EDIT
cdumez@apple.comd927a982020-10-31 00:29:02 +00002// Content was automatically extracted by Reffy into webref
3// (https://github.com/w3c/webref)
cdumez@apple.comdec36532020-05-29 03:00:55 +00004// Source: HTMLVideoElement.requestVideoFrameCallback() (https://wicg.github.io/video-rvfc/)
5
6dictionary VideoFrameMetadata {
7 required DOMHighResTimeStamp presentationTime;
8 required DOMHighResTimeStamp expectedDisplayTime;
9
10 required unsigned long width;
11 required unsigned long height;
12 required double mediaTime;
13
14 required unsigned long presentedFrames;
15 double processingDuration;
16
17 DOMHighResTimeStamp captureTime;
18 DOMHighResTimeStamp receiveTime;
19 unsigned long rtpTimestamp;
20};
21
cdumez@apple.comd927a982020-10-31 00:29:02 +000022callback VideoFrameRequestCallback = undefined(DOMHighResTimeStamp now, VideoFrameMetadata metadata);
cdumez@apple.comdec36532020-05-29 03:00:55 +000023
24partial interface HTMLVideoElement {
25 unsigned long requestVideoFrameCallback(VideoFrameRequestCallback callback);
cdumez@apple.comd927a982020-10-31 00:29:02 +000026 undefined cancelVideoFrameCallback(unsigned long handle);
cdumez@apple.comdec36532020-05-29 03:00:55 +000027};