VideoTrackGenerator: track property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
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
. VideoFrame
s 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
Specification |
---|
MediaStreamTrack Insertable Media Processing using Streams # dom-videotrackgenerator-track |