discordjs / voice

Implementation of the Discord Voice API for discord.js and other JS/TS libraries
Apache License 2.0
327 stars 110 forks source link

feat(VoiceUDPSocket): use new IP discovery packet format #90

Closed amishshah closed 3 years ago

amishshah commented 3 years ago

Please describe the changes this PR makes and why it should be merged:

Discord updated their IP discovery format in the voice documentation (see here) - this PR updates VoiceUDPSocket to follow the new format.

Status and versioning classification:

codecov[bot] commented 3 years ago

Codecov Report

Merging #90 (76b07c8) into main (72e1106) will increase coverage by 0.04%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #90      +/-   ##
==========================================
+ Coverage   56.44%   56.48%   +0.04%     
==========================================
  Files          15       15              
  Lines         675      678       +3     
  Branches      149      150       +1     
==========================================
+ Hits          381      383       +2     
- Misses        292      293       +1     
  Partials        2        2              
Impacted Files Coverage Δ
src/networking/VoiceUDPSocket.ts 96.36% <100.00%> (-1.72%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 72e1106...76b07c8. Read the comment docs.