|
|
|
|
|
by matteason
398 days ago
|
|
It's actually surprisingly hard to get iOS Safari to keep playing audio with the screen off. When I made https://ambiph.one I ended up having to route everything through a MediaStreamAudioDestinationNode to trick Safari into thinking it's a livestream, which is apparently the only type of audio allowed to play in the background Minimal demo here if it's helpful for anyone: https://codepen.io/matteason/pen/VYwdzVV |
|