Beispiel #1
0
 private void InitializePerformanceCounters()
 {
     lock(pcLock)
     {
         if(participant != null)
         {
             pc = new RtpSessionPC(participant.CName + " - " + multicastEP.ToString());
         }
     }
 }
Beispiel #2
0
 private void DisposePerformanceCounters()
 {
     lock(pcLock)
     {
         if(pc != null)
         {
             pc.Dispose();
             pc = null;
         }
     }
 }
Beispiel #3
0
 private void InitializePerformanceCounters()
 {
     // Check to see if user has permissions to read performance counter data
     if (BasePC.PerformanceCounterWrapper.HasUserPermissions())
     {
         lock(pcLock)
         {
             if(participant != null)
             {
                 pc = new RtpSessionPC(participant.CName + " - " + nextHopEP.ToString());
             }
         }
     }
 }