RTCRtpSender: dtmf property
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2020.
The read-onlydtmf property on theRTCRtpSender interface returns aRTCDTMFSender object which can be used to sendDTMF tonesover theRTCPeerConnection. SeeUsing DTMF for details on how tomake use of the returnedRTCDTMFSender object.
In this article
Value
AnRTCDTMFSender which can be used to send DTMF over the RTP session, ornull if the track being carried by the RTP session or theRTCPeerConnection as a whole doesn't support DTMF.
Note:Only audio tracks can support DTMF, and typically only one audio track perRTCPeerConnection will have an associatedRTCDTMFSender
Example
tbd
Specifications
| Specification |
|---|
| WebRTC: Real-Time Communication in Browsers> # dom-rtcrtpsender-dtmf> |