VideoTrackGenerator: muted property

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