tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

video-rvfc.idl (931B)


      1 // GENERATED CONTENT - DO NOT EDIT
      2 // Content was automatically extracted by Reffy into webref
      3 // (https://github.com/w3c/webref)
      4 // Source: HTMLVideoElement.requestVideoFrameCallback() (https://wicg.github.io/video-rvfc/)
      5 
      6 dictionary VideoFrameCallbackMetadata {
      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 
     22 callback VideoFrameRequestCallback = undefined(DOMHighResTimeStamp now, VideoFrameCallbackMetadata metadata);
     23 
     24 partial interface HTMLVideoElement {
     25    unsigned long requestVideoFrameCallback(VideoFrameRequestCallback callback);
     26    undefined cancelVideoFrameCallback(unsigned long handle);
     27 };