private void InitializePerformanceCounters() { lock (pcLock) { pc = new RtcpSenderPC(rtpSession.CName + " - " + rtpSession.RtcpEndPoint); } }
private void DisposePerformanceCounters() { lock (pcLock) { if (pc != null) { pc.Dispose(); pc = null; } } }
private void DisposePerformanceCounters() { lock(pcLock) { if(pc != null) { pc.Dispose(); pc = null; } } }
private void InitializePerformanceCounters() { lock(pcLock) { pc = new RtcpSenderPC(rtpSession.CName + " - " + rtpSession.RtcpEndPoint); } }