Пример #1
0
 private void InitializePerformanceCounters()
 {
     lock (pcLock)
     {
         pc = new RtcpSenderPC(rtpSession.CName + " - " + rtpSession.RtcpEndPoint);
     }
 }
Пример #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 RtcpSenderPC(rtpSession.CName + " - " + destinationEP);
         }
     }
 }
Пример #4
0
 private void DisposePerformanceCounters()
 {
     lock(pcLock)
     {
         if(pc != null)
         {
             pc.Dispose();
             pc = null;
         }
     }
 }
Пример #5
0
 private void InitializePerformanceCounters()
 {
     // Check to see if user has permissions to read performance counter data
     if (BasePC.PerformanceCounterWrapper.HasUserPermissions())
     {
         lock(pcLock)
         {
             pc = new RtcpSenderPC(rtpSession.CName + " - " + destinationEP);
         }
     }
 }
Пример #6
0
 private void InitializePerformanceCounters()
 {
     lock(pcLock)
     {
         pc = new RtcpSenderPC(rtpSession.CName + " - " + rtpSession.RtcpEndPoint);
     }
 }