Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

experimental: feat(VoiceConnection): lower browser runtime error to a warning #108

Merged
merged 2 commits into from
Jan 9, 2024

Conversation

TTtie
Copy link
Member

@TTtie TTtie commented Aug 27, 2023

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.

@TTtie TTtie added scope: voice Issues or pull requests related to voice functionality scope: meta Meta changes labels Aug 27, 2023
@TTtie TTtie self-assigned this Aug 27, 2023
@TTtie TTtie force-pushed the experimental/browser-voice branch from b36c852 to be9a700 Compare September 12, 2023 10:18
@TTtie TTtie force-pushed the experimental/browser-voice branch from be9a700 to 7a389a8 Compare September 20, 2023 09:37
@TTtie TTtie force-pushed the experimental/browser-voice branch from 7a389a8 to 3031c88 Compare January 5, 2024 06:19
TTtie added 2 commits January 9, 2024 11:24
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.
@TTtie TTtie force-pushed the experimental/browser-voice branch from 3dc40a6 to a0dd5e2 Compare January 9, 2024 11:24
@TTtie TTtie merged commit b1132b3 into dev Jan 9, 2024
2 checks passed
@TTtie TTtie deleted the experimental/browser-voice branch January 9, 2024 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: meta Meta changes scope: voice Issues or pull requests related to voice functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant