Definition
Region Capture defines BrowserCaptureMediaStreamTrack
[Exposed = Window]
interface BrowserCaptureMediaStreamTrack : MediaStreamTrack {
Promise<undefined> cropTo(CropTarget? cropTarget);
BrowserCaptureMediaStreamTrack clone();
};
This interface is extended in the following specifications:
- Element Capture
[Exposed = Window] partial interface BrowserCaptureMediaStreamTrack { Promise<undefined> restrictTo(RestrictionTarget? RestrictionTarget); };
Consolidated IDL (across mixin and partials)
[Exposed = Window]
interface BrowserCaptureMediaStreamTrack : MediaStreamTrack {
Promise<undefined> cropTo(CropTarget? cropTarget);
BrowserCaptureMediaStreamTrack clone();
Promise<undefined> restrictTo(RestrictionTarget? RestrictionTarget);
};
Methods and attributes that return objects implementing BrowserCaptureMediaStreamTrack
Referring IDL interfaces/dictionaries
Referring specifications
- Element Capture refers to
BrowserCaptureMediaStreamTrack