diff --git a/src/Discord.Net.Core/Audio/IAudioClient.cs b/src/Discord.Net.Core/Audio/IAudioClient.cs index 3ee008320..a292c5aa8 100644 --- a/src/Discord.Net.Core/Audio/IAudioClient.cs +++ b/src/Discord.Net.Core/Audio/IAudioClient.cs @@ -8,14 +8,17 @@ namespace Discord.Audio event Func Connected; event Func Disconnected; event Func LatencyUpdated; + event Func UdpLatencyUpdated; event Func StreamCreated; event Func StreamDestroyed; event Func SpeakingUpdated; /// Gets the current connection state of this client. ConnectionState ConnectionState { get; } - /// Gets the estimated round-trip latency, in milliseconds, to the gateway server. + /// Gets the estimated round-trip latency, in milliseconds, to the voice websocket server. int Latency { get; } + /// Gets the estimated round-trip latency, in milliseconds, to the voice UDP server. + int UdpLatency { get; } Task StopAsync();