Ejemplo n.º 1
0
 private void InitializePerformanceCounters()
 {
     lock (pcLock)
     {
         pc = new RtpStreamPC(Properties.CName + " - " + PayloadType.ToString());
     }
 }
Ejemplo n.º 2
0
 private void DisposePerformanceCounters()
 {
     lock (pcLock)
     {
         if (pc != null)
         {
             pc.Dispose();
             pc = null;
         }
     }
 }
Ejemplo n.º 3
0
 private void InitializePerformanceCounters()
 {
     // Check to see if user has permissions to read performance counter data
     if (BasePC.PerformanceCounterWrapper.HasUserPermissions())
     {
         lock (pcLock)
         {
             pc = new RtpStreamPC(Properties.CName + " - " + PayloadType.ToString());
         }
     }
 }
Ejemplo n.º 4
0
 private void DisposePerformanceCounters()
 {
     lock(pcLock)
     {
         if(pc != null)
         {
             pc.Dispose();
             pc = null;
         }
     }
 }
Ejemplo n.º 5
0
 private void InitializePerformanceCounters()
 {
     lock(pcLock)
     {
         pc = new RtpStreamPC(Properties.CName + " - " + PayloadType.ToString());
     }
 }
Ejemplo n.º 6
0
 private void InitializePerformanceCounters()
 {
 // Check to see if user has permissions to read performance counter data
     if (BasePC.PerformanceCounterWrapper.HasUserPermissions())
     {
         lock (pcLock)
         {
             pc = new RtpStreamPC(Properties.CName + " - " + PayloadType.ToString());
         }
     }
 }