NEW 283419
iOS AudioContext does not change state from running when an external system app starts to play sounds
https://bugs.webkit.org/show_bug.cgi?id=283419
Summary iOS AudioContext does not change state from running when an external system a...
András Csizmadia
Reported 2024-11-20 07:51:22 PST
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.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-11-25 10:08:02 PST
Note You need to log in before you can comment on or make changes to this bug.