ost::RTPQueueBase Class Reference
[Base classes for RTP queues.Base classes for RTP queues.]

A virtual base class for RTP queue hierarchies. More...

#include <queuebase.h>

Inheritance diagram for ost::RTPQueueBase:

ost::IncomingDataQueueBase ost::OutgoingDataQueueBase ost::IncomingDataQueue ost::OutgoingDataQueue ost::RTPDataQueue ost::RTPDataQueue ost::QueueRTCPManager ost::RTPDuplex ost::QueueRTCPManager ost::RTPDuplex ost::AVPQueue ost::AVPQueue List of all members.

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 <fedemp@altern.org>


Constructor & Destructor Documentation

ost::RTPQueueBase::RTPQueueBase uint32 ssrc = NULL  )  [protected]
 

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

virtual ost::RTPQueueBase::~RTPQueueBase  )  [inline, protected, virtual]
 


Member Function Documentation

virtual size_t ost::RTPQueueBase::dispatchBYE const std::string &   )  [inline, protected, virtual]
 

A plugin point for posting of BYE messages.

Parameters:
- reason to leave the RTP session.
Returns:
number of octets sent.

Reimplemented in ost::QueueRTCPManager.

PayloadType ost::RTPQueueBase::getCurrentPayloadType  )  const [inline]
 

uint32 ost::RTPQueueBase::getCurrentRTPClockRate  )  const [inline]
 

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 ost::RTPQueueBase::getInitialTime  )  const [inline]
 

uint32 ost::RTPQueueBase::getLocalSSRC  )  const [inline]
 

uint32 ost::RTPQueueBase::getLocalSSRCNetwork  )  const [inline, protected]
 

virtual void ost::RTPQueueBase::renewLocalSSRC  )  [inline, protected, virtual]
 

Reimplemented in ost::RTPDataQueue, and ost::IncomingDataQueue.

void ost::RTPQueueBase::setLocalSSRC uint32  ssrc  )  [inline, protected]
 

bool ost::RTPQueueBase::setPayloadFormat const PayloadFormat pf  )  [inline]
 

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.


The documentation for this class was generated from the following file:
Generated on Thu Apr 6 09:03:06 2006 for Bayonne Framework by  doxygen 1.4.6