Insertable Streams for MediaStreamTrack API
The VideoTrackGenerator() constructor creates a new VideoTrackGenerator object which consumes a stream of media frames and exposes a MediaStreamTrack.
Syntax
new VideoTrackGenerator()
Examples
In the following example a new video VideoTrackGenerator is created.
const trackGenerator = new VideoTrackGenerator();
Specifications
Browser compatibility
See also
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
