示例#1
0
 private void InitializePerformanceCounters()
 {
     lock(pcLock)
     {
         if(participant != null)
         {
             pc = new RtpSessionPC(participant.CName + " - " + multicastEP.ToString());
         }
     }
 }
示例#2
0
 private void DisposePerformanceCounters()
 {
     lock(pcLock)
     {
         if(pc != null)
         {
             pc.Dispose();
             pc = null;
         }
     }
 }
示例#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());
             }
         }
     }
 }