tonechange

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

The tonechange event is sent by the WebRTC API to indicate when DTMF tones previously queued for sending (by calling RTCDTMFSender.insertDTMF()) begin and end.

General info

Specification
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'tonechange' in that specification.
Interface
RTCDTMFToneChangeEvent
Bubbles
No
Cancelable
No
Target
RTCDTMFSender
Default Action
None

Properties

Implements the following properties. Since RTCDTMFToneChangeEvent is based on Event, this event also implements its properties.

tone Read only
A DOMString specifying which tone has begun playing. If this string is empty (""), all pending tones have finished playing (the tonebuffer is empty).

Methods

RTCDTMFToneChangeEvent has no methods of its own; however, it supports all methods of its parent, Event.

Specifications

Specification Status Comment
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'tonechange' in that specification.
Working Draft Definition for the WebRTC API

Browser compatibility

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari
Basic support (Yes) ? 52 (52) No support ? ?
Feature Android Chrome for Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? ? ? 52.0 (52) No support ? ?

文档标签和贡献者