[Webkit-unassigned] [Bug 287872] New: Calling getUserMedia with an existing echo cancelled audio stream causes the existing stream to fail

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 18 10:52:05 PST 2025


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

            Bug ID: 287872
           Summary: Calling getUserMedia with an existing echo cancelled
                    audio stream causes the existing stream to fail
           Product: WebKit
           Version: Safari 18
          Hardware: Mac (Apple Silicon)
                OS: macOS 15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kevin.v at miro.com

Created attachment 474273

  --> https://bugs.webkit.org/attachment.cgi?id=474273&action=review

Safari plus web console showing the relevant command

When calling `getUserMedia` with `echoCancellation: false` any existing streams which were acquired with `echoCancellation: true` fail. 

Minimal repro:
1. Open https://webrtc.github.io/test-pages/src/single-audio/
2. Talk or make some sound, observe that this is echoed back to your local speakers
3. Open web console and run: `stream = await navigator.mediaDevices.getUserMedia({audio: {echoCancellation: false}})`

Observe that the echoed signal goes silent. From here there are 2 failure modes observed:

1. Depending on the OS default microphone this bug can appear. It seems to happen for external mics such as USB: https://bugs.webkit.org/show_bug.cgi?id=281978
2. The existing stream completely goes silent and doesn't recover (this issue).


Mac OS Sonoma 14.6.1 (23G93) / Safari Version 17.6 (19618.3.11.11.5)
Also appears on Safari Version 18.2 (19620.1.16.111.6, 19620)

-- 
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/20250218/4cad20fd/attachment.htm>


More information about the webkit-unassigned mailing list