C# Класс NewTOAPIA.Net.Rtp.RtcpSender

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Dispose ( ) : void
SendRtcpDataNow ( ) : void

Приватные методы

Метод Описание
Dispose ( bool disposing ) : void
DisposePerformanceCounters ( ) : void
Initialize ( ) : void
InitializePerformanceCounters ( ) : void
RtcpSender ( IRtpSession rtpSession ) : System
RtcpTransmissionInterval ( ) : System.TimeSpan

Calculates the amount of time that should elapse before the next Rtcp packet is sent See Colin's book pp 128-142

Send ( bool forced ) : void

Collects the Rtcp data from the session, assembles it into CompoundPackets (via the CompoundPacketBuilder) and sends the packets The current design has a "forced" Send occurring on the thread that makes the call, and a normal Send occurring on the dedicated RtcpSender thread. To make sure that multiple threads aren't making the call at the same time, which can lead to data access exceptions (e.g. Queue empty), we lock here.

SendThread ( ) : void
UpdatePerformanceBytes ( int bytes ) : void
UpdatePerformanceCounters ( int ms ) : void

Updates performance counters

UpdatePerformanceInterval ( System.TimeSpan ts, bool forced ) : void
UpdatePerformancePackets ( short packets ) : void

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

SendRtcpDataNow() публичный Метод

public SendRtcpDataNow ( ) : void
Результат void