MDN self-hosted library · e01.org

VideoTrackGenerator: track property

Insertable Streams for MediaStreamTrack API

no runnable cells web-api-instance-property upstream source

Insertable Streams for MediaStreamTrack API

The track property of the VideoTrackGenerator interface returns a MediaStreamTrack. VideoFrames written to VideoTrackGenerator.writable will be generated in this track.

Value

A video MediaStreamTrack.

Examples

See the Insertable Streams for MediaStreamTrack API for an example.

Specifications

Browser compatibility