https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 3c59b280a828fa52ee3848a31803bf6c7a886568 authored by Marcos Cáceres on 28 November 2018, 06:20:37 UTC
Match spec + clean up
Tip revision: 3c59b28
mediacapture-fromelement.idl
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into reffy-reports
// (https://github.com/tidoust/reffy-reports)
// 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;
    void requestFrame();
};
back to top