RTCDTMFSender
The RTCDTMFSender
interface provides a mechanism for transmitting DTMF codes on a WebRTC RTCPeerConnection.
Properties
Link copied to clipboard
The 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.
Link copied to clipboard
Link copied to clipboard
The 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.
Functions
Link copied to clipboard
Link copied to clipboard
fun insertDTMF(tones: String, duration: Int = definedExternally, interToneGap: Int = definedExternally)
The insertDTMF()
method of the RTCDTMFSender interface sends DTMF tones to the remote peer over the RTCPeerConnection.
Link copied to clipboard