W3C home > Mailing lists > Public > public-webrtc@w3.org > September 2016

[webrtc-pc] Unclear when a DTMFToneChangEvent is fired with an empty string

From: Dan Minor via GitHub <sysbot+gh@w3.org>
Date: Mon, 19 Sep 2016 17:11:58 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-177842462-1474305116-sysbot+gh@w3.org>
dminor has just created a new issue for 
https://github.com/w3c/webrtc-pc:

== Unclear when a DTMFToneChangEvent is fired with an empty string ==
The steps for insertDTMF state "If toneBuffer is an empty string, fire
 an event named tonechange with an empty string at the RTCDTMFSender 
object and abort these steps." which seems to imply the event is only 
generated with an empty string when the toneBuffer is empty, so 
insertDTMF("AAB") would result in "A" "A" "B" "".

But the description of the 'tone' attribute of the 
RTCDTMFToneChangeEvent says that "The tone attribute contains the 
character for the tone that has just begun playout (see insertDTMF ). 
If the value is the empty string, it indicates that the previous tone 
has completed playback." That seems to imply that an empty string is 
generated after each tone, so that insertDTMF("AAB") would result in 
"A" "" "A" "" "B" "".

Please view or discuss this issue at 
https://github.com/w3c/webrtc-pc/issues/799 using your GitHub account
Received on Monday, 19 September 2016 17:12:08 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:49 UTC