[Webkit-unassigned] [Bug 215965] getUserMedia causes stall in audio output / unexpected audio ducking

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 1 06:10:56 PDT 2020


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

--- Comment #2 from youenn fablet <youennf at gmail.com> ---
(In reply to Boris Smus from comment #0)
> My application has a button that opens audio input and simultaneously plays
> a UI sound to indicate that the mic is hot.
> 
> Here's a really basic test page that lets you play audio and then open the
> audio input via `getUserMedia`: https://codepen.io/borismus/pen/PoNjbPa 
> 
> Try this and notice the pause in music.
> 
> - On Mac it seems to fade out as if its deliberately ducking Or maybe this
> is just what happens when the main thread playing audio stalls.

I do not hear that on my Mac.
I can hear a slight pause.

This seems to be a system wide pause: the same happens if I open https://codepen.io/borismus/pen/PoNjbPa on Chrome and asks Chrome to play Music and then asks Safari to open audio input using the same fiddle. 

If I close Safari, the same temporary pause happens.
It might be that this happens when starting and stopping our core audio shared unit.

> - On iOS it seems to pause abruptly as if it's some kind of blockage. 

When you say pause, it is a temporary pause right?
This might be the same issue as MacOS.

-- 
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/20200901/61e01b2a/attachment.htm>


More information about the webkit-unassigned mailing list