[Webkit-unassigned] [Bug 242187] New: DTMF tonechange event sometimes doesn't fire

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 30 06:45:05 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=242187

            Bug ID: 242187
           Summary: DTMF tonechange event sometimes doesn't fire
           Product: WebKit
           Version: Safari 15
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mawojtcz at cisco.com
                CC: youennf at gmail.com

We've observed this in our integration tests that sometimes when we call insertDTMF() method with a string of characters, we only get the tonechange event for the first few characters and then it gets stuck and stops sending the events. For example we call transceiver.sender.dtmf.insertDTMF('0123456789') and we only get the events for '0', '1', '2' and nothing more. In our tests we are not making any other extra calls to insertDTMF().

Here is a jsFiddle link that reproduces this: 
https://jsfiddle.net/5qhc61vy/4/. 
When you use it, open the JS console and click the "start" button and observe the console logs. It will go in a loop doing the following steps:
1. sendDTMF('0123456789ABCD') method is called
2. we wait for all expected tonechange events
3. we sleep for 1 second
You can see the steady stream of logs appearing in the console - there is a log for each tonechange event.
On Safari, after a few iterations we get stuck and are not getting the tonechange event anymore. On Chrome and Firefox it works fine and goes on forever.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220630/2eaee078/attachment-0001.htm>


More information about the webkit-unassigned mailing list