WebIDLpedia

BrowserCaptureMediaStreamTrack interface

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:

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