[Webkit-unassigned] [Bug 283419] New: iOS AudioContext does not change state from running when an external system app starts to play sounds

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 20 07:51:22 PST 2024


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

            Bug ID: 283419
           Summary: iOS AudioContext does not change state from running
                    when an external system app starts to play sounds
           Product: WebKit
           Version: Safari 18
          Hardware: iPhone / iPad
                OS: iOS 18
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: andras at vpmedia.hu

1. Initialize a browser app using AudioContext with sound playback on a iOS Safari page
2. Start an external system app with delayed sound playback (I've used the Clock app with a countdown timer)
3. Start playing sounds on the Safari page
4. Wait for the external system app's delayed sound playback to be started
5. Notice that the audio context's playing sounds are muted/not audible anymore, but the AudioContext.state keeps the 'running' state
6. Even after the external app's sound playback is finished the browser app's sounds are not audible anymore
7. I've to switch to the iOS lock screen to trigger an 'interrupted' AudioContext.state change, than call AudioContext.resume() after going back to the browser, to recover and be able to play the browser app's sounds

Tested using iOS Safari 18.1.1

I would expect to have an audio context state change event if an external application interrupts the sound playback in the browser app.

-- 
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/20241120/345dae21/attachment.htm>


More information about the webkit-unassigned mailing list