csl::RtpSender Class Reference

#include <RtpSender.h>

Inheritance diagram for csl::RtpSender:

csl::Effect csl::CslRtpSession csl::UnitGenerator csl::Controllable csl::Model

List of all members.

Public Member Functions

 RtpSender (unsigned chans=1)
 ~RtpSender ()
void nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (Exception)
bool createRtpSession ()
bool addRtpDestination (char *remoteIP, unsigned short remotePort)
bool removeRtpDestination ()
void printError (int rtperr)

Protected Attributes

unsigned mNumChans
SynchPthread mRtpMutex
unsigned mBufferFrames
unsigned mRemotePort
 The network port I send to.
unsigned mLocalPort
 The network port I listen on.
unsigned mRemoteIP
 The IP address of the client in host byte order.
unsigned mLocalIP
 My IP address in host byte order.
string mCName
 The CName of my computer.
string mEmail
 My email I want registered with RTP.
int mLastPacketNumber
 The RTP ID of the last packet sent (or -1 if none).
int mPayloadType
 The RTP payload type we are sending.
RTPUDPv4TransmissionParams * mTransparams
RTPSessionParams * mSessparams
RTPIPv4Address * mAddress


Constructor & Destructor Documentation

RtpSender::RtpSender ( unsigned  chans = 1  ) 

RtpSender::~RtpSender (  ) 

References mAddress, mSessparams, and mTransparams.


Member Function Documentation

void RtpSender::nextBuffer ( Buffer outputBuffer,
unsigned  outBufNum 
) throw (Exception) [virtual]

really compute the next buffer given an offset base channel; this is called by nextBuffer, possibly multiple times

Reimplemented from csl::UnitGenerator.

References csl::Port::mBuffer.

bool RtpSender::createRtpSession (  ) 

bool RtpSender::addRtpDestination ( char *  remoteIP,
unsigned short  remotePort 
)

References mAddress, mRemoteIP, mRemotePort, and printError().

Referenced by main().

bool RtpSender::removeRtpDestination (  ) 

References mAddress.

void RtpSender::printError ( int  rtperr  ) 


Member Data Documentation

unsigned csl::RtpSender::mNumChans [protected]

unsigned csl::RtpSender::mBufferFrames [protected]

unsigned csl::RtpSender::mRemotePort [protected]

The network port I send to.

Referenced by addRtpDestination().

unsigned csl::RtpSender::mLocalPort [protected]

The network port I listen on.

Referenced by createRtpSession().

unsigned csl::RtpSender::mRemoteIP [protected]

The IP address of the client in host byte order.

Referenced by addRtpDestination().

unsigned csl::RtpSender::mLocalIP [protected]

My IP address in host byte order.

string csl::RtpSender::mCName [protected]

The CName of my computer.

string csl::RtpSender::mEmail [protected]

My email I want registered with RTP.

The RTP ID of the last packet sent (or -1 if none).

Referenced by RtpSender().

The RTP payload type we are sending.

Referenced by RtpSender().

RTPUDPv4TransmissionParams* csl::RtpSender::mTransparams [protected]

RTPSessionParams* csl::RtpSender::mSessparams [protected]

RTPIPv4Address* csl::RtpSender::mAddress [protected]


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