Skip to content
Success

Changes

Summary

  1. Voice Gateway V4 and new encryption modes (#651) (commit: 16437e1) (details)
Commit 16437e175dcc073d3928e2c421c1a8a411caaeb8 by noreply
Voice Gateway V4 and new encryption modes (#651)
* Added support for suffix/lite encryption
* Move to vgw v4
* Use IP given from discord payload rather than original endpoint
* Reduce required allocations for en-/decryption
* Remove un-used createEchoPacket method
* Fix deadlock when changing connection listener in its own methods
* Reduce packet provider to single buffer
(commit: 16437e1)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/factory/IPacketProvider.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/core/audio/AudioEncryption.java
The file was addedsrc/main/java/net/dv8tion/jda/core/audio/SpeakingMode.java
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/Decoder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/hooks/ConnectionStatus.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/AudioWebSocket.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/hooks/ListenerProxy.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/AudioPacket.java (diff)
The file was modifiedbuild.gradle (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/AudioConnection.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/hooks/ConnectionListener.java (diff)