Share via


canInsertDTMF property

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Whether the RTCDtmfSender is capable of sending DTMF.

This property is read-only.

Syntax

var sender = new RTCDtmfSender(sendObject);
if (sender.canInsertDTMF) {
    var duration = 500;
    sender.insertDTMF("1234", duration);
} else {
    trace("DTMF function not available");
}  

Property values

Type: BOOLEAN

Standards information

See also

RTCDtmfSender