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

fix(Voice): only skip undocumented voice packet byte if present #5309

Merged
merged 2 commits into from Apr 5, 2021
Merged

fix(Voice): only skip undocumented voice packet byte if present #5309

merged 2 commits into from Apr 5, 2021

Conversation

decahedron1
Copy link
Contributor

Discord's Chrome client doesn't add a certain undocumented byte to voice packets, this implements a workaround for it that prevents a crash. Fixes #5105.

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

@amishshah
Copy link
Member

Thanks for this PR! 🚀 I'm sure a lot of people will be happy to see this.

@amishshah amishshah changed the title Only skip undocumented voice packet byte if present fix(Voice): only skip undocumented voice packet byte if present Feb 11, 2021
@amishshah
Copy link
Member

This fix was also implemented in discordjs/voice@84393de

@amishshah amishshah merged commit 2b52cdc into discordjs:master Apr 5, 2021
@iCrawl iCrawl added this to the Version 13 milestone Jun 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Voice receive not working for audio from browser clients
4 participants