Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(VoiceConnection): lower browser runtime error to a warning
The base work around "browser" support was done over 7 years ago. Although nothing much has changed when it comes to supporting UDP connections in browsers, over time, browser-like runtimes like Deno, Bun, and others claiming (partial) Node compatibility (including UDP connections) have emerged. Although using Dysnomia with these browser- -like environments won't be officially supported, I think that rather than blocking them outright, we should acknowledge that those alternative runtimes exist and allow them to try to use voice at their own risk with a warning that they might possibly end up seeing undefined or weird behavior.
- Loading branch information