Hacker News new | ask | show | jobs
by devbas 2400 days ago
It doesn't work for me in Safari on Mac
4 comments

Safari has all kinds of issues with audio. Every report just leads to a rdar: url and then silence, both from Apple and from Safari haha (cry)

For a while couldn't send streamed but redirected audio through the webaudio api on Safari only. Workaround was to manually catch the redirect but the latest safari that doesn't help.

Like WebGL I don't think Apple wants Web Audio to work. They've got several outstanding bugs in WebGL (3yrs+) and their non-existent WebGL2 support as not seen a single commit in > 3yrs. Web Audio appears to be the same. It's frustrating.

They do have their own Apple Music streaming platform, perhaps you can just do what they do
I've had trouble identifying why. Safari has a largely compatible AudioContext API, and there's no errors, but the audio never starts playing and there's no "onended" event when it's supposed to be done. So I'm a bit stumped at the moment.
Same for Safari on iPhone
Same for me (safari on iOS)