This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
youys
/
Discord.Net
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
34
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Handle voice socket opcode 3
pull/11/head
RogueException
9 years ago
parent
f06a1d7278
commit
d39b4b0f42
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
src/Discord.Net/Net/WebSockets/VoiceWebSocket.cs
+ 6
- 0
src/Discord.Net/Net/WebSockets/VoiceWebSocket.cs
View File
@@ -433,6 +433,12 @@ namespace Discord.Net.WebSockets
}
}
break;
case 3: //PONG
{
//var payload = (msg.Payload as JToken).ToObject<VoiceKeepAliveCommand>();
//TODO: Use this to estimate latency
}
break;
case 4: //SESSION_DESCRIPTION
{
var payload = (msg.Payload as JToken).ToObject<JoinServerEvent>();
Write
Preview
Loading…
Cancel
Save