You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/change_log/2024-08-13-voice-encryption-modes.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ topics:
5
5
- "Voice"
6
6
---
7
7
8
-
Added documentation for voice [encryption modes](#DOCS_TOPICS_VOICE_CONNECTIONS/encryption-modes)`aead_aes256_gcm_rtpsize` and `aead_xchacha20_poly1305_rtpsize` while announcing the deprecation of all `xsalsa20_poly1305*` variants and `aead_aes256_gcm`. Deprecated encryption modes will be discontinued as of November 18th, 2024.
8
+
Added documentation for voice [encryption modes](#DOCS_TOPICS_VOICE_CONNECTIONS/transport-encryption-modes)`aead_aes256_gcm_rtpsize` and `aead_xchacha20_poly1305_rtpsize` while announcing the deprecation of all `xsalsa20_poly1305*` variants and `aead_aes256_gcm`. Deprecated encryption modes will be discontinued as of November 18th, 2024.
9
9
10
10
> danger
11
11
> Deprecated encryption modes will be discontinued as of November 18th, 2024.
Introduced high-level documentation for Discord's Audio and Video End-to-End Encryption (DAVE) protocol, and the new voice gateway opcodes required to support it.
9
+
10
+
Since September 2024, Discord is migrating voice and video in DMs, Group DMs, voice channels, and Go Live streams to use end-to-end encryption (E2EE). You are not immediately required to support the E2EE protocol. Non-E2EE connections to voice in DMs, Group DMs, voice channels, and Go Live streams will eventually be deprecated and discontinued after at least a six month deprecation window, which will be announced in the future.
| 4 | Session Description | server | Describe the session. ||
58
+
| 5 | Speaking | client and server | Indicate which users are speaking. ||
59
+
| 6 | Heartbeat ACK | server | Sent to acknowledge a received client heartbeat. ||
60
+
| 7 | Resume | client | Resume a connection. ||
61
+
| 8 | Hello | server | Time to wait between sending heartbeats in milliseconds. ||
62
+
| 9 | Resumed | server | Acknowledge a successful session resume. ||
63
+
| 11 | Clients Connect | server | One or more clients have connected to the voice channel ||
64
+
| 13 | Client Disconnect | server | A client has disconnected from the voice channel ||
65
+
| 21 | DAVE Prepare Transition | server | A downgrade from the DAVE protocol is upcoming ||
66
+
| 22 | DAVE Execute Transition | server | Execute a previously announced protocol transition ||
67
+
| 23 | DAVE Transition Ready | client | Acknowledge readiness previously announced transition ||
68
+
| 24 | DAVE Prepare Epoch | server | A DAVE protocol version or group change is upcoming ||
69
+
| 25 | DAVE MLS External Sender | server | Credential and public key for MLS external sender | X |
70
+
| 26 | DAVE MLS Key Package | client | MLS Key Package for pending group member | X |
71
+
| 27 | DAVE MLS Proposals | server | MLS Proposals to be appended or revoked | X |
72
+
| 28 | DAVE MLS Commit Welcome | client | MLS Commit with optional MLS Welcome messages | X |
73
+
| 29 | DAVE MLS Announce Commit Transition | server | MLS Commit to be processed for upcoming transition ||
74
+
| 30 | DAVE MLS Welcome | server | MLS Welcome to group for upcoming transition | X |
75
+
| 31 | DAVE MLS Invalid Commit Welcome | client | Flag invalid commit or welcome, request re-add ||
64
76
65
77
###### Voice Close Event Codes
66
78
@@ -77,7 +89,7 @@ Our voice gateways have their own set of opcodes and close codes.
77
89
| 4012 | Unknown protocol | We didn't recognize the [protocol](#DOCS_TOPICS_VOICE_CONNECTIONS/establishing-a-voice-udp-connection-example-select-protocol-payload) you sent. |
78
90
| 4014 | Disconnected | Channel was deleted, you were kicked, voice server changed, or the main gateway session was dropped. Should not reconnect. |
79
91
| 4015 | Voice server crashed | The server crashed. Our bad! Try [resuming](#DOCS_TOPICS_VOICE_CONNECTIONS/resuming-voice-connection). |
80
-
| 4016 | Unknown encryption mode | We didn't recognize your [encryption](#DOCS_TOPICS_VOICE_CONNECTIONS/encrypting-and-sending-voice).|
92
+
| 4016 | Unknown encryption mode | We didn't recognize your [encryption](#DOCS_TOPICS_VOICE_CONNECTIONS/transport-encryption-and-sending-voice). |
0 commit comments