Environment
- PHP Version:
- DiscordPHP Version:
Describe the bug
DiscordPHP currently does not support DAVE (Discord Audio/Video Encryption). When connecting to voice, Discord may negotiate DAVE instead of the older encryption modes, which results in the voice connection failing or remaining unusable because the encryption mode is not implemented in DiscordPHP.
This appears to be due to Discord transitioning voice connections toward DAVE, while DiscordPHP still expects the legacy voice encryption modes.
To Reproduce
Steps to reproduce the behavior:
- Create a DiscordPHP client.
- Attempt to connect to a voice channel.
- Observe that the voice connection cannot properly initialize when DAVE is negotiated.
Example:
$discord->on('ready', function ($discord) {
if ($channel = $discord->getChannel('VOICE_CHANNEL_ID')) {
$discord->joinVoiceChannel($channel);
}
});
Environment
Describe the bug
DiscordPHP currently does not support DAVE (Discord Audio/Video Encryption). When connecting to voice, Discord may negotiate DAVE instead of the older encryption modes, which results in the voice connection failing or remaining unusable because the encryption mode is not implemented in DiscordPHP.
This appears to be due to Discord transitioning voice connections toward DAVE, while DiscordPHP still expects the legacy voice encryption modes.
To Reproduce
Steps to reproduce the behavior:
Example: