We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE


MediaStreamTrack's onunmute event handler is called when the unmute event is received. Such an event is sent when the track is again able to send data.

When the onunmute event handler is called, the track's muted flag is false.


track.onunmute = unmuteHandler;


unmuteHandler is a function which is called when the MediaStreamTrack receives the unmute event. The event handler receives as input a single parameter: an Event whose kind is "unmute".


This example creates an unmute event handler which changes the state of a visual indicator to display the Emoji character representing a "speaker" icon.

myTrack.onunmute = function(evt) {
  playStateIcon.innerHTML = "🔈";


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

Browser compatibility

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

See also

Document Tags and Contributors

 Contributors to this page: fscholz, Sheppy, libbymc, teoli
 Last updated by: fscholz,