我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译
您也可以阅读此文章的English (US)版。

The unmute event is sent to a MediaStreamTrack when the track's source is once again able to provide media data after a period of not being able to do so. This ends the muted state that began with the mute event.

You can establish a listener for the unmute event using the MediaStreamTrack.onunmute event handler, or with addEventListener().

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 'unmute' 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.

 

 

文档标签和贡献者

此页面的贡献者: mdnwebdocs-bot, Sheppy
最后编辑者: mdnwebdocs-bot,