Readonly
canThe canInsertDTMF
read-only property of the RTCDTMFSender interface returns a boolean value which indicates whether the RTCDTMFSender
is capable of sending DTMF tones over the RTCPeerConnection.
Readonly
toneThe RTCDTMFSender interface's toneBuffer property returns a string containing a list of the DTMF tones currently queued for sending to the remote peer over the RTCPeerConnection.
The addEventListener()
method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optional
options: boolean | AddEventListenerOptionsThe addEventListener()
method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optional
options: boolean | AddEventListenerOptionsThe dispatchEvent()
method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
The insertDTMF()
method of the RTCDTMFSender interface sends DTMF tones to the remote peer over the RTCPeerConnection.
Optional
duration: numberOptional
interToneGap: numberThe removeEventListener()
method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Optional
options: boolean | EventListenerOptionsThe removeEventListener()
method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Optional
options: boolean | EventListenerOptions
The
RTCDTMFSender
interface provides a mechanism for transmitting DTMF codes on a WebRTC RTCPeerConnection.MDN Reference