C# Class NewTOAPIA.Net.Rtp.RtcpListener

RtcpReceiverThread is responsible for receiving all incoming packets on the Rtcp Listener, casting them into specific RtcpPackets, and then taking appropriate action with the packet SDES packets are used to maintain the lists of active Participants and Streams, associate Streams to Participants, and set the SdesData on Participants and Streams. BYE packets are used to remove RtpParticipants and RtpStreams. Currently SR, RR, and APP packets are simply forwarded to Events in case the application has interest in them. TODO - In the future, we should take the information from SR and RR and adjust our streams sending rates accordingly.
Exibir arquivo Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
ListenThread ( ) : void

Private Methods

Method Description
Dispose ( ) : void
Dispose ( bool disposing ) : void

Clean up the RtcpListener A thread will not abort until it is in the running state. Our listening thread is generally blocked by the call to rtcpNetworkListener.ReceiveFrom(). In order to dispose things quickly and efficiently, we tell the listening thread to abort as soon as it is back in the running state. Then we clean up the network listener which should unblock us.

Initialize ( ) : void
LogEvent ( string msg, EventLogEntryType et, int id ) : void
RtcpListener ( IRtpSession rtpSession ) : System

Constructs an RtcpListener The rtpSession is used as a communication point between the Rtcp and Rtp code

Method Details

ListenThread() public method

public ListenThread ( ) : void
return void