Firefox Tomorrow

web api instance property

VideoTrackGenerator: muted property

View on MDN ↗

Limited availability

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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.