voice: support xsalsa20_poly1305_lite and xsalsa20_poly1305_suffix

This commit is contained in:
Amish Shah
2018-05-10 12:11:22 +01:00
parent 685814aa61
commit 43c92c13e2
4 changed files with 42 additions and 9 deletions

View File

@@ -104,7 +104,7 @@ class VoiceConnectionUDPClient extends EventEmitter {
data: {
address: packet.address,
port: packet.port,
mode: 'xsalsa20_poly1305',
mode: this.voiceConnection.authentication.encryptionMode,
},
},
});