The muted read-only property of the MediaStreamTrack interface returns a Boolean value indicating whether or not the track is currently unable to provide media output.

To implement a way for users to mute and unmute a track, use the enabled property. When a track is disabled by setting enabled to false, it generates only empty frames (audio frames in which every sample is 0, or video frames in which every pixel is black).


mutedFlag = MediaStreamTrack.muted;


Boolean which is true if the track is currently muted, or false if the track is currently unmuted.

When possible, avoid polling muted to monitor the track's muting status. Instead, add event listeners for the mute and unmute events.


This example counts the number of tracks in an array of MediaStreamTrack objects which are currently muted.

var mutedCount = 0;

trackList.forEach(function(track) {
  if (track.muted) {
    mutedCount += 1;


Specification Status Comment
Media Capture and Streams
The definition of 'muted' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes1259 No Yes ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support Yes Yes Yes59 ? ? Yes

Document Tags and Contributors

Contributors to this page: fscholz, Sheppy, jeremy-french, jpmedley
Last updated by: fscholz,