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