Skip to content
Success

Changes

Summary

  1. Cleanup and improve audio internals (#766) (commit: 493e069) (details)
Commit 493e069875d3455d55b5bed05cee9855c358e0d8 by noreply
Cleanup and improve audio internals (#766)
* Now properly shutdown all audio connections on left guilds after
reconnects (because discord is a big meme)
* Cleanup internals for both AudioWS as well as AudioConnection
* Now audio packet provider is actually 0 allocations (:O) doesn't
change anything for interface users (like jaap)
(commit: 493e069)
The file was addedsrc/main/java/net/dv8tion/jda/core/audio/KeepAliveThreadFactory.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/managers/impl/AudioManagerImpl.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 modifiedsrc/main/java/net/dv8tion/jda/core/handle/VoiceServerUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/JDAInfo.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/JDAImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/AudioPacket.java (diff)