VideoTrackGenerator: track property

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

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