Skip to content

Commit 02de63a

Browse files
authored
Add DAVE properties to voice payload examples (#7828)
1 parent fd72792 commit 02de63a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/topics/voice-connections.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ Once we retrieve a session_id, token, and endpoint information, we can connect a
8484
"server_id": "41771983423143937",
8585
"user_id": "104694319306248192",
8686
"session_id": "my_session_id",
87-
"token": "my_token"
87+
"token": "my_token",
88+
"max_dave_protocol_version": 1
8889
}
8990
}
9091
```
@@ -426,7 +427,8 @@ Finally, the voice server will respond with a [Opcode 4 Session Description](/do
426427
"op": 4,
427428
"d": {
428429
"mode": "aead_aes256_gcm_rtpsize",
429-
"secret_key": [ ...251, 100, 11...]
430+
"secret_key": [ ...251, 100, 11...],
431+
"dave_protocol_version": 1
430432
}
431433
}
432434
```

0 commit comments

Comments
 (0)