Browse Source

Use async during voice transmission

tags/docs-0.9
RogueException 9 years ago
parent
commit
bb9d786159
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Audio/Net/VoiceSocket.cs

+ 1
- 1
src/Discord.Net.Audio/Net/VoiceSocket.cs View File

@@ -371,7 +371,7 @@ namespace Discord.Net.WebSockets
break;
}
}
_udp.Send(pingPacket, pingPacket.Length);
await _udp.SendAsync(pingPacket, pingPacket.Length);
nextPingTicks = currentTicks + 5 * ticksPerSeconds;
}
}


Loading…
Cancel
Save