csl::CslRtpSession Class Reference

#include <CslRtpSession.h>

Inheritance diagram for csl::CslRtpSession:

csl::RtpReceiver csl::RtpSender

List of all members.

Public Member Functions

 CslRtpSession (unsigned numChans, unsigned bufferFrames)
 Constructor.
 ~CslRtpSession ()
 Destructor.

Public Attributes

RingBuffer mRtpBuffer
 The ring buffer between the RTP client and the PortAudio object.
Buffer mTmpBuffer
 A temporary buffer used throughout the class.

Protected Member Functions

void OnRTPPacket (RTPPacket *pack, const RTPTime &receivetime, const RTPAddress *senderaddress)
void OnRTCPCompoundPacket (RTCPCompoundPacket *pack, const RTPTime &receivetime, const RTPAddress *senderaddress)
void OnSSRCCollision (RTPSourceData *srcdat, const RTPAddress *senderaddress, bool isrtp)
void OnCNAMECollision (RTPSourceData *srcdat, const RTPAddress *senderaddress, const u_int8_t *cname, size_t cnamelength)
void OnNewSource (RTPSourceData *srcdat)
void OnRemoveSource (RTPSourceData *srcdat)
void OnTimeout (RTPSourceData *srcdat)
void OnBYETimeout (RTPSourceData *srcdat)
void OnAPPPacket (RTCPAPPPacket *apppacket, const RTPTime &receivetime, const RTPAddress *senderaddress)
void OnUnknownPacketType (RTCPPacket *rtcppack, const RTPTime &receivetime, const RTPAddress *senderaddress)
void OnUnknownPacketFormat (RTCPPacket *rtcppack, const RTPTime &receivetime, const RTPAddress *senderaddress)
void OnNoteTimeout (RTPSourceData *srcdat)
void OnBYEPacket (RTPSourceData *srcdat)


Constructor & Destructor Documentation

CslRtpSession::CslRtpSession ( unsigned  numChans,
unsigned  bufferFrames 
)

Constructor.

References mTmpBuffer.

CslRtpSession::~CslRtpSession (  ) 

Destructor.

References mTmpBuffer.


Member Function Documentation

void CslRtpSession::OnRTPPacket ( RTPPacket *  pack,
const RTPTime &  receivetime,
const RTPAddress *  senderaddress 
) [protected]

void CslRtpSession::OnRTCPCompoundPacket ( RTCPCompoundPacket *  pack,
const RTPTime &  receivetime,
const RTPAddress *  senderaddress 
) [protected]

References testkiss::j.

void CslRtpSession::OnSSRCCollision ( RTPSourceData *  srcdat,
const RTPAddress *  senderaddress,
bool  isrtp 
) [protected]

void CslRtpSession::OnCNAMECollision ( RTPSourceData *  srcdat,
const RTPAddress *  senderaddress,
const u_int8_t *  cname,
size_t  cnamelength 
) [protected]

void CslRtpSession::OnNewSource ( RTPSourceData *  srcdat  )  [protected]

void CslRtpSession::OnRemoveSource ( RTPSourceData *  srcdat  )  [protected]

void CslRtpSession::OnTimeout ( RTPSourceData *  srcdat  )  [protected]

void CslRtpSession::OnBYETimeout ( RTPSourceData *  srcdat  )  [protected]

void CslRtpSession::OnAPPPacket ( RTCPAPPPacket *  apppacket,
const RTPTime &  receivetime,
const RTPAddress *  senderaddress 
) [protected]

void CslRtpSession::OnUnknownPacketType ( RTCPPacket *  rtcppack,
const RTPTime &  receivetime,
const RTPAddress *  senderaddress 
) [protected]

void CslRtpSession::OnUnknownPacketFormat ( RTCPPacket *  rtcppack,
const RTPTime &  receivetime,
const RTPAddress *  senderaddress 
) [protected]

void CslRtpSession::OnNoteTimeout ( RTPSourceData *  srcdat  )  [protected]

void CslRtpSession::OnBYEPacket ( RTPSourceData *  srcdat  )  [protected]


Member Data Documentation

The ring buffer between the RTP client and the PortAudio object.

Referenced by OnRTPPacket().

A temporary buffer used throughout the class.

Referenced by CslRtpSession(), OnRTPPacket(), and ~CslRtpSession().


The documentation for this class was generated from the following files:

Generated on Thu Sep 17 23:14:17 2009 for CSL by  doxygen 1.5.8