public void Reset() { if (_peerConnection != null) { _peerConnection.ToggleRTCStats(false); _peerConnection = null; } if (_metricsTimer != null) { _metricsTimer.Dispose(); } }