Skip to content
Success

Changes

Summary

  1. Implement Voice Resume (#410) (commit: 6c7e405) (details)
Commit 6c7e4052627920ae3bca6c7fb52f48075975077c by noreply
Implement Voice Resume (#410)
* First attempts on working voice resume logic
* Added handling for HELLO
* Removed unneeded field, properly replace audio manager references on
reconnect
* Fixed a race condition on reconnecting audio connections after
invalidation process
* Fixed synchronization deadlock issue for AudioManagerImpl cache
* Added log for decoder errors
* Fixed NPE in decrypting audio packet
* Move warning for USER_SPEAKING_UPDATE on AudioConnection.LOG and put
it on trace temporarily
(commit: 6c7e405)
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/factory/DefaultSendSystem.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/core/audio/VoiceCode.java
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/requests/WebSocketClient.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/GuildImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/impl/AudioManagerImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/utils/MiscUtil.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/AudioPacket.java (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/AudioWebSocket.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/core/utils/tuple/MutableTriple.java