summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/mediacapture-fromelement.idl
blob: b25f87018df5202950ac90da8bb140c6d2d5e7f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Media Capture from DOM Elements (https://w3c.github.io/mediacapture-fromelement/)

partial interface HTMLMediaElement {
    MediaStream captureStream ();
};

partial interface HTMLCanvasElement {
    MediaStream captureStream (optional double frameRequestRate);
};

[Exposed=Window] interface CanvasCaptureMediaStreamTrack : MediaStreamTrack {
    readonly        attribute HTMLCanvasElement canvas;
    undefined requestFrame ();
};