| Summary: | webaudio api is muted when the iOS ringer is muted | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Derk-Jan Hartman <hartman.wiki> |
| Component: | Web Audio | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | adrian+webkit, bfulgham, carlosj-webkit-bugzilla, cdumez, chrisguttandin, ddp.bkdn, jer.noble, mattwindwer, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 15 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 15 | ||
|
Description
Derk-Jan Hartman
2022-03-01 06:33:20 PST
Wikipedia has applied the mentioned workaround as well now. But a proper fix would be appreciated as this is rather suboptimal and impacts performance. var el = document.createElement( 'audio' ); el.src = 'silence.mp3'; // media file with tiny bit of silence el.play(); context = new AudioContext(); This is actually being tracked here: rdar://43514261 This comes up so often for our customers at Soundslice that we made a dedicated help page for the issue: https://www.soundslice.com/help/en/player/troubleshooting/235/no-sound-on-ios/ The workaround also means the lock-screen will display media-controls for the silent file running in the background. Which is highly confusing for users. |