Skip to content
Success

Changes

Summary

  1. Changed audio connection requests (#457) (commit: 64b1b9f) (details)
Commit 64b1b9f0c95a2b417a9ff5f48307324b43c33b9b by noreply
Changed audio connection requests (#457)
* New audio connection system to counter major race conditions
* Remove connection requests from queue when guild is deleted
* Fixed possible NPE on disconnect requests with no channels
* Removed setDaemon from audio thread group
* Added functionality to deal with possible racecondition related to
moving a connection during it being opened.
(commit: 64b1b9f)
The file was addedsrc/main/java/net/dv8tion/jda/core/audio/ConnectionRequest.java
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/AudioConnection.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/VoiceStateUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/factory/DefaultSendSystem.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/WebSocketClient.java (diff)
The file was modified.gitignore (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/VoiceServerUpdateHandler.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/audio/AudioWebSocket.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildDeleteHandler.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/core/audio/ConnectionStage.java