MDN self-hosted library · e01.org

VideoTrackGenerator: muted property

Insertable Streams for MediaStreamTrack API

Open notebook · 2 cells web-api-instance-property upstream source

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