News for hackers. Stuff that matters.
Re:OpenAI Audio Models by saint_yossarian on Thursday March 20, 2025 @06:52PM (#43429991)
The site just crashes with service workers disabled. First time I ran into a problem with that setting, which I set over two years ago.
Re:OpenAI Audio Models by jeffharris on Thursday March 20, 2025 @07:47PM (#43430358)
oh doh. thanks ... we just pushed a fix for the crash. Unfortunately our currently implementation needs service works for streaming audio, so the "fix" was to disable the feature if the worker isn't available
Re:OpenAI Audio Models by saint_yossarian on Friday March 21, 2025 @09:36AM (#43435536)
Thanks, that's interesting. I thought service workers were only needed for things like offline support and background activity after a tab is closed (which is why I disabled them).

Streaming audio is a new one to me, I wonder if the same could be achieved with web workers instead. Or at least similar use cases like video calls work fine for me without service workers. See e.g. https://github.com/scottstensland/web-audio-workers-sockets