Closed Bug 1623193 Opened 5 years ago Closed 3 months ago

Implement RTCDTMFSender.canInsertDTMF

Categories

(Core :: WebRTC: Signaling, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox-esr68 --- wontfix
firefox75 --- wontfix
firefox76 --- wontfix
firefox77 --- wontfix
firefox78 --- wontfix
firefox129 --- fixed

People

(Reporter: bwc, Assigned: byoungchan.lee)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

createDtmfSender returns the sender once negotiation completes. However, the spec says the RTCDTMFSender is not ready to use until after ICE completes. This is not a problem right now because our readiness checking in insertDTMF is pretty loose.

Summary: createDtmfSender in webrtc wpt is flawed → createDtmfSender in webrtc wpt returns a RTCDTMFSender that is not necessarily ready

Looks like this would be fixed by implementing RTCDTMFSender.canInsertDTMF.

Severity: normal → S3
Summary: createDtmfSender in webrtc wpt returns a RTCDTMFSender that is not necessarily ready → Implement RTCDTMFSender.canInsertDTMF

Accodring to https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender firefox is the only browser that not implement that method.

Existing insertDTMF and new canInsertDTMF properties use the same
underlying algorithm to determine if DTMF can be inserted or not.
(https://w3c.github.io/webrtc-pc/#caninsertdtmf-algorithm) So, we can
use existing Transceiver->CanSendDTMF method to implement
RTCDTMFSender.canInsertDTMF.

Assignee: nobody → byoungchan.lee
Status: NEW → ASSIGNED
Pushed by bcampen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dbbb27e00fc7 Implement RTCDTMFSender.canInsertDTMF r=webidl,smaug,bwc
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
Keywords: dev-doc-needed
Type: defect → enhancement

FF129 MDN docs work for this done in https://github.com/mdn/content/issues/34699 - essentially compatibility data update and a release note.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: