VideoTrackGenerator: muted 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 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:

js
videoTrackGenerator.muted = true;

To resume production of video frames:

js
videoTrackGenerator.muted = false;

Specifications

Specification
MediaStreamTrack Insertable Media Processing using Streams
# dom-videotrackgenerator-muted

Browser compatibility