A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/BrowserCaptureMediaStreamTrack below:

BrowserCaptureMediaStreamTrack - Web APIs | MDN

BrowserCaptureMediaStreamTrack

Limited availability

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The BrowserCaptureMediaStreamTrack interface of the Screen Capture API represents a single video track. It extends the MediaStreamTrack class with methods to limit the part of a self-capture stream (for example, a user's screen or window) that is captured.

EventTarget MediaStreamTrack BrowserCaptureMediaStreamTrack Instance methods
clone() Experimental

Returns an uncropped, unrestricted clone of the original BrowserCaptureMediaStreamTrack.

cropTo() Experimental

Crops a self-capture stream to the area in which a specified DOM element is rendered.

restrictTo() Experimental

Restricts a self-capture stream to a specific DOM element.

Examples

See Using the Element Capture and Region Capture APIs for in-context example code.

Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4