Nos bénévoles n'ont pas encore traduit cet article en Français. Inscrivez-vous et aidez-nous à réaliser cette tâche !
Vous pouvez également lire cet article en English (US).

The mute event is sent to a MediaStreamTrack when the track's source is temporarily unable to provide media data. When the track is once again able to produce media output, an unmute event is sent.

During the time between the mute event and the unmute event, the value of the track's muted property is true.

You listen for the mute event using the MediaStreamTrack.onmute event handler, or by calling addEventListener() with "mute" as the event type.

The condition that most people think of as "muted" (that is, a user-toggled state of silencing a track) is actually managed using the MediaStreamTrack.enabled property, for which there are no events.

General info

Specification
Media Capture and Streams
The definition of 'mute' in that specification.
Interface
Event
Bubbles
No
Cancelable
No
Target
MediaStreamTrack
Default Action
None.

Properties

This event is of type Event and includes only the properties it defines.

 

Étiquettes et contributeurs liés au document

Contributeurs à cette page : Sheppy
Dernière mise à jour par : Sheppy,