Re: [webrtc-pc] Failed to execute 'insertDTMF' on 'RTCDTMFSender': The 'canInsertDTMF' attribute is false: this sender cannot send DTMF.

@jiaguolin  canInsertDTMF false indicates that you cannot send DTMF, so you should check it first.
PR https://github.com/w3c/webrtc-pc/pull/1957  elucidates the reasons why canInsertDTMF can be false, such as: 

1. sender does not have a track or track.kind isn't "audio"
2. DTMF codec ("audio/telephone-event") is not negotiated
3. pc.currentDirection is not "sendrecv" or "sendonly"

-- 
GitHub Notification of comment by aboba
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1958#issuecomment-412218613 using your GitHub account

Received on Friday, 10 August 2018 22:04:58 UTC