src/content/peerconnection/dtmf/js/main.js was incompatible with Firefox due to its reliance on the canInsertDTMF function, which is not supported in Firefox. This commit implements a workaround by assuming DTMF insertion is always available when canInsertDTMF is not present.
Yes, I've uploaded my patch to the Mozilla Phabricator to implement canInsertDTMF method. However, I still believe using the workaround for older Firefox versions is worthwhile. Even web platform tests utilizes the workaround, as you can see here.
Description
src/content/peerconnection/dtmf/js/main.js
was incompatible with Firefox due to its reliance on thecanInsertDTMF
function, which is not supported in Firefox. This commit implements a workaround by assuming DTMF insertion is always available whencanInsertDTMF
is not present.Purpose