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