Handle voice socket opcode 3

This commit is contained in:
RogueException
2015-11-11 13:41:55 -04:00
parent f06a1d7278
commit d39b4b0f42

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>();