A virtual base class for RTP queue hierarchies.
More...
#include <queuebase.h>
List of all members.
Detailed Description
A virtual base class for RTP queue hierarchies.
- Author:
- Federico Montesino Pouzols <fedemp@altern.org>
Constructor & Destructor Documentation
RTPQueueBase::RTPQueueBase |
( |
uint32 * |
ssrc = NULL |
) |
[protected] |
- Parameters:
-
| ssrc | If not null, the local SSRC identifier for this session. |
virtual RTPQueueBase::~RTPQueueBase |
( |
|
) |
[inline, protected, virtual] |
Member Function Documentation
virtual size_t 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 QueueRTCPManager.
PayloadType RTPQueueBase::getCurrentPayloadType |
( |
|
) |
const [inline] |
uint32 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 RTPQueueBase::getInitialTime |
( |
|
) |
const [inline] |
uint32 RTPQueueBase::getLocalSSRC |
( |
|
) |
const [inline] |
uint32 RTPQueueBase::getLocalSSRCNetwork |
( |
|
) |
const [inline, protected] |
virtual void RTPQueueBase::renewLocalSSRC |
( |
|
) |
[inline, protected, virtual] |
void RTPQueueBase::setLocalSSRC |
( |
uint32 |
ssrc |
) |
[inline, protected] |
bool 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: