SYNOPSIS

#include <queuebase.h>

Inherited by IncomingDataQueueBase [virtual], and OutgoingDataQueueBase [virtual].

Public Member Functions

bool setPayloadFormat (const PayloadFormat &pf)

Set the payload format in use, for timing and payload type identification purposes. uint32 getLocalSSRC () const

uint32 getCurrentRTPClockRate () const

Get the clock rate in RTP clock units (for instance, 8000 units per second for PCMU, or 90000 units per second for MP2T). PayloadType getCurrentPayloadType () const

timeval getInitialTime () const

Protected Member Functions

RTPQueueBase (uint32 *ssrc=NULL)

void setLocalSSRC (uint32 ssrc)

uint32 getLocalSSRCNetwork () const

virtual ~RTPQueueBase ()

virtual size_t dispatchBYE (const std::string &)

A plugin point for posting of BYE messages. virtual void renewLocalSSRC ()

Detailed Description

A virtual base class for RTP queue hierarchies.

Author:

Federico Montesino Pouzols [email protected]

Constructor & Destructor Documentation

RTPQueueBase::RTPQueueBase (uint32 *ssrc = \fCNULL\fP)\fC [protected]\fP

Parameters:

ssrc If not null, the local SSRC identifier for this session.

virtual RTPQueueBase::~RTPQueueBase ()\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP

Member Function Documentation

virtual size_t RTPQueueBase::dispatchBYE (const std::string &)\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP

A plugin point for posting of BYE messages.

Parameters:

- reason to leave the RTP session.

Returns:

number of octets sent.

Reimplemented in QueueRTCPManager.

\fBPayloadType\fP RTPQueueBase::getCurrentPayloadType () const\fC [inline]\fP

uint32 RTPQueueBase::getCurrentRTPClockRate () const\fC [inline]\fP

Get the clock rate in RTP clock units (for instance, 8000 units per second for PCMU, or 90000 units per second for MP2T). This value depends on what payload format has been selected using setPayloadFormat().

Returns:

clock rate in RTP clock units.

timeval RTPQueueBase::getInitialTime () const\fC [inline]\fP

uint32 RTPQueueBase::getLocalSSRC () const\fC [inline]\fP

uint32 RTPQueueBase::getLocalSSRCNetwork () const\fC [inline]\fP, \fC [protected]\fP

virtual void RTPQueueBase::renewLocalSSRC ()\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP

Reimplemented in IncomingDataQueue, and RTPDataQueue.

void RTPQueueBase::setLocalSSRC (uint32ssrc)\fC [inline]\fP, \fC [protected]\fP

bool RTPQueueBase::setPayloadFormat (const \fBPayloadFormat\fP &pf)\fC [inline]\fP

Set the payload format in use, for timing and payload type identification purposes.

Parameters:

pf payload format to use from now on.

Returns:

whether the payload format has been successfully set.

Author

Generated automatically by Doxygen for ccRTP from the source code.