-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto-update the mediacapture-fromelement IDL file (#11575)
* Add mediacapture-fromelement IDL file * Change test to use that IDL file
- Loading branch information
1 parent
432a9ab
commit 0b687e0
Showing
2 changed files
with
20 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content of this file was automatically extracted from the | ||
// "Media Capture from DOM Elements" spec. | ||
// See: 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(); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters