[Webkit-unassigned] [Bug 276016] REGRESSION (iOS 17.4.1 - 17.5.1): Web Audio sounds stop playing after losing focus of safari in iOS 17.5.1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 26 13:23:09 PDT 2024


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

--- Comment #2 from Matthew Windwer <mattwindwer at gmail.com> ---
I was able to reproduce this using the above steps for iOS 17.6 RC. The audioCtx.state (check console) is "interrupted" at the end of step 3. The solution is to suspend and resume the audio context when Safari is resumed, which can be done on visibilitychange. I'm not sure whether or not this should be necessary.

There is another bug that causes a similar issue, but the context remains in the "running" state and cannot be heard, and sometimes cannot be resumed. See https://bugs.webkit.org/show_bug.cgi?id=276687#c6 for repro steps.

-- 
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/20240726/631e5c74/attachment-0001.htm>


More information about the webkit-unassigned mailing list