Jake
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
discord/gateway.py
|
|
@ -708,6 +708,7 @@ class DiscordVoiceWebSocket(websockets.client.WebSocketClientProtocol): |
|
|
|
state = self._connection |
|
|
|
state.ssrc = data['ssrc'] |
|
|
|
state.voice_port = data['port'] |
|
|
|
state.endpoint_ip = data['ip'] |
|
|
|
|
|
|
|
packet = bytearray(70) |
|
|
|
struct.pack_into('>I', packet, 0, state.ssrc) |
|
|
|