public override void Stop() { if (State <= StreamState.StopRequested) { return; } //When the stream is not stared if (IDisposedExtensions.IsNullOrDisposed(RtpClient).Equals(false)) { RtpClient.Deactivate(); } //Indicate no longer ready. base.Ready = false; //Call stop which sets state base.Stop(); }