예제 #1
0
 private void InitializePerformanceCounters()
 {
     lock (pcLock)
     {
         pc = new RtpListenerPC(rtpSession.Sdes.CName + " - " + rtpSession.RtpEndPoint.ToString());
     }
 }
예제 #2
0
 private void DisposePerformanceCounters()
 {
     lock (pcLock)
     {
         if (pc != null)
         {
             pc.Dispose();
             pc = null;
         }
     }
 }
예제 #3
0
 private void DisposePerformanceCounters()
 {
     lock(pcLock)
     {
         if(pc != null)
         {
             pc.Dispose();
             pc = null;
         }
     }
 }
예제 #4
0
 private void InitializePerformanceCounters()
 {
     lock(pcLock)
     {
         pc = new RtpListenerPC(rtpSession.Sdes.CName + " - " + rtpSession.RtpEndPoint.ToString());
     }
 }