3 ms·
Re audio: yeah we currently only use Web Workers and we don't have audio support yet. We do use SAB, but we're thinking of adding support for running without SA
by janpaul123 5y ago
Re audio: yeah we currently only use Web Workers and we don't have audio support yet. We do use SAB, but we're thinking of adding support for running without SAB so you can use it with older browsers.
- chaosprint 5y agoThat would be a smart move as SAB also requires CORS now, which adds more trouble for getting started. It can be a feature to keep for some context that really needs to get rid of GC such as audio.
- janpaul123 5y agoYeah exactly; the headers are such a pain to set up!
- chaosprint 5y agoI always encourage users to use vite, and it is quite easy for the dev server. https://github.com/vitejs/vite/issues/3909 https://github.com/vitejs/vite/issues/3909 For deployment it's a different story then but for example netlify has a quite intuitive way to set headers for CORS: https://github.com/padenot/ringbuf.js/blob/master/public/_headers https://github.com/padenot/ringbuf.js/blob/master/public/_he...