C# 클래스 NewTOAPIA.Net.Rtp.RtcpSender

상속: IDisposable
파일 보기 프로젝트 열기: Wiladams/NewTOAPIA 1 사용 예제들

공개 메소드들

메소드 설명
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