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.
RTCDTMFToneChangeEvent
RTCDTMFSender
Implements the following properties. Since RTCDTMFToneChangeEvent
is based on Event
, this event also implements its properties.
tone
Read only
DOMString
specifying which tone has begun playing. If this string is empty (""
), all pending tones have finished playing (the tonebuffer
is empty).RTCDTMFToneChangeEvent
has no methods of its own; however, it supports all methods of its parent, Event
.
Specification | Status | Comment |
---|---|---|
WebRTC 1.0: Real-time Communication Between Browsers The definition of 'tonechange' in that specification. | Candidate Recommendation | Definition for the WebRTC API |
We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!
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 | ? | ? |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/Events/tonechange