W3C home > Mailing lists > Public > public-webrtc@w3.org > December 2012

RE: DTMF v4

From: Pastro, Rodrigo <rodrigo.pastro@siemens-enterprise.com>
Date: Fri, 14 Dec 2012 14:25:00 +0000
To: Harald Alvestrand <harald@alvestrand.no>
CC: "public-webrtc@w3.org" <public-webrtc@w3.org>
Message-ID: <AA0E219596621348BA4FC6330D3A795F08A8EA1C@MCHP01MSX.global-ad.net>
Hi Harald, 

I have a few questions regarding the proposed DTMF API. Some of these issues may have already been discussed in the meetings, so I apologize if I'm asking repeated questions.

- How does the application know if the call to insertDTMF was accepted? Shouldn't this function return a boolean (or possibly have success/error callbacks)? I understand that the application should first check if canInsertDTMF returns true, but does that really guarantee that insertDTMF will be accepted?

- What happens if insertDTMF is called on a disabled (e.g. muted) MediaStreamTrack? Is the request rejected or are the digits buffered to be processed when the MediaStreamTrack is enabled again?

- What happens if the MediaStreamTrack is disabled (e.g. muted) while the DTMF digits are being sent? Is the toneBuffer emptied? Is there a "tonechange" event?

- According to the current spec, if insertDTMF is called on the same object while an existing task for this object to generate DTMF is still running, the previous task is canceled. Is there a "tonechange" event indicating that the previous sequence has been canceled? The same question also applies to the case insertDTMF is called with an empty string to cancel the tones being sent.

- Is there a way to get the associated PeerConnection instance for a given RTCDTMFSender object? 

- What happens if the application attempts to use an RTCDTMFSender which is associated with a closed PeerConnection or an ended MediaStreamTrack? Is there an exception?

- I'm assuming the application can check the state of the RTCDTMFSender via the associated MediaStreamTrack's readyState attribute and onended event handler. Is that a valid assumption?


Thanks for your support.

-- Rodrigo


-----Original Message-----
From: Harald Alvestrand [mailto:harald@alvestrand.no] 
Sent: Friday, December 14, 2012 5:40 AM
To: public-webrtc@w3.org
Subject: DTMF v4

Appropriate changes from on-call discussion and subsequent email 
exchanges have been applied.
I think there's now consensus to take this to the editors.

             Harald
Received on Friday, 14 December 2012 22:40:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 14 December 2012 22:40:33 GMT