[Webkit-unassigned] [Bug 232728] REGRESSION (Safari 15): AudioContext.currentTime speeds up (and audio won't play) when Bluetooth speaker connected

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 9 10:34:56 PST 2021


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

--- Comment #5 from Chris Dumez <cdumez at apple.com> ---
(In reply to TomG from comment #4)
> We've also discovered this behaviour on iOS15 devices.
> 
> Using this WebAudio example:
> https://mdn.github.io/webaudio-examples/audiocontext-states/ 
> 
> After creating the context, we've had some of our devices have sound cut off
> at 6 seconds, some at 30 seconds. But the time display below is always
> faster than what it should be. Once it gets a few seconds ahead of what it
> should be (about 2), it cuts off. Suspending and renewing does nothing for
> the audio. The context needs to be killed and then recreated. But then it
> happens all over again.
> 
> One interesting thing to note. We only experience that behaviour remotely.
> If we run the same code for the test above in a local server, we have no
> problem. The context time ticks along at the correct speed.

Ok, it looks like we are able to reproduce with https://mdn.github.io/webaudio-examples/audiocontext-states/ on macOS (without bluetooth), simply by changing the hardware sample rate (using Audio MIDI Setup app) while the demo is rendering.
After a little bit, the audio will stop rendering.

Seems related to our WebAudio stack not dealing properly with the hardware sample rate changing. We are investigating, thanks for the report.

-- 
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/20211109/d76c6d85/attachment-0001.htm>


More information about the webkit-unassigned mailing list