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

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