Fixed incoming audio, removed nameresolution dep.

This commit is contained in:
RogueException
2017-04-01 12:59:06 -03:00
parent 27d6f4159d
commit 3e988c7549
7 changed files with 11 additions and 13 deletions

View File

@@ -228,9 +228,9 @@ namespace Discord.Audio
await _sentDiscoveryEvent.InvokeAsync().ConfigureAwait(false);
}
public void SetUdpEndpoint(string host, int port)
public void SetUdpEndpoint(string ip, int port)
{
_udp.SetDestination(host, port);
_udp.SetDestination(ip, port);
}
//Helpers