Insertable Streams for MediaStreamTrack API
The muted Boolean property of the VideoTrackGenerator interface can be used to temporarily halt or resume the generation of video frames in the output track.
Value
A boolean.
Examples
To pause production of video frames:
videoTrackGenerator.muted = true;
To resume production of video frames:
videoTrackGenerator.muted = false;
Specifications
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
