diff --git a/Rtp/RtpClient.cs b/Rtp/RtpClient.cs index 7232fb36..52317cd0 100644 --- a/Rtp/RtpClient.cs +++ b/Rtp/RtpClient.cs @@ -2307,7 +2307,7 @@ public void DisconnectSockets() //Close the RtpSocket if (RtpSocket.IsNullOrDisposed() is false) - RtpSocket?.Close(); + RtpSocket.Close(); RtpSocket = RtcpSocket = null; }