@types/dom-mediacapture-fromelement
v0.0.0
Published
TypeScript definitions for dom-mediacapture-fromelement
Readme
Installation
npm install --save @types/dom-mediacapture-fromelement
Summary
This package contains type definitions for dom-mediacapture-fromelement (https://w3c.github.io/mediacapture-fromelement/).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dom-mediacapture-fromelement.
index.d.ts
// The same editor's draft defines canvas extensions, but those extensions are widely supported and
// already defined in the standard DOM type definitions.
// Versioning:
// Until the specification is finalized, the major version number is 0. Although not necessary for
// version 0, consider incrementing the minor version number for breaking changes.
interface HTMLMediaElement {
/**
* The **`captureStream()`** method of the {@linkcode HTMLMediaElement} interface returns a {@linkcode MediaStream} object representing the media being rendered in real time to the media element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/captureStream)
*/
captureStream(): MediaStream;
}
Additional Details
- Last updated: Sat, 02 May 2026 07:31:40 GMT
- Dependencies: none
Credits
These definitions were written by haykam821.
