[Webkit-unassigned] [Bug 237322] webaudio api is muted when the iOS ringer is muted
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 25 14:54:52 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=237322
Jean-Yves Avenard [:jya] <jean-yves.avenard at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |CONFIGURATION CHANGED
CC| |jean-yves.avenard at apple.com
--- Comment #6 from Jean-Yves Avenard [:jya] <jean-yves.avenard at apple.com> ---
Since iOS 17, you can set the audio session type to "playback".
Add in your code something like `navigator.audioSession.type = "playback"` and audio will not be suspended.
By default the type is `ambient` and so audio will be muted if the phone is muted.
--
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/20240925/e745cbb9/attachment.htm>
More information about the webkit-unassigned
mailing list