RTCRtpSender.dtmf - Web APIs 编辑
The read-only dtmf
property on the RTCRtpSender
interface returns a RTCDTMFSender
object which can be used to send DTMF tones over the RTCPeerConnection
. See Using DTMF for details on how to make use of the
returned RTCDTMFSender
object.
Syntax
var dtmfSender = RTCRtpSender.dtmf;
Value
An RTCDTMFSender
which can be used to send DTMF over the RTP session, or null
if the track being carried by the RTP session or the RTCPeerConnection
as a whole doesn't support DTMF.
Only audio tracks can support DTMF, and typically only one audio track per RTCPeerConnection
will have an associated RTCDTMFSender
Example
tbd
Specifications
Specification | Status | Comment |
---|---|---|
WebRTC 1.0: Real-time Communication Between Browsers The definition of 'RTCRtpSender.dtmf' in that specification. | Candidate Recommendation |
Browser compatibility
BCD tables only load in the browser
See also
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论