Hacker News new | ask | show | jobs
by mgkimsal 2547 days ago
https://ampl.fi/track/omlet-fizz-funk-qf9mGI

seems to not work on safari 12 (Mojave). as in... press the play button, state changes, no audio, no other activity happens.

as with many webby things these days.... works fine on chrome, not on safari.

1 comments

Unfortunately, Safari does not support Opus-encoded audio using the Web Audio API. I actually had to push a hotfix earlier this week since Safari uses webkitAudioContext as opposed to AudioContext (which I wasn't checking for) - the site wouldn't even load.

See this issue:

https://github.com/goldfire/howler.js/issues/706

I could fallback to something like MP3, which is something I'm looking into.

I really need to add some type of alert for users using Safari, at least for the time being. Thanks for reminding me!

I've recently been doing some client-side media recording, and ... could not get chrome to record in anything BUT opus for days. Didn't want Opus because... FFmpeg couldn't deal with it (nor can aws media converter, or other cloud-based converter services). opus may have some benefits, but it doesn't seem to be well supported in various tools.