#include <queuebase.h>
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 () |
RTPQueueBase::RTPQueueBase | ( | uint32 * | ssrc = NULL |
) | [protected] |
ssrc | If not null, the local SSRC identifier for this session. |
virtual RTPQueueBase::~RTPQueueBase | ( | ) | [inline, protected, virtual] |
virtual size_t RTPQueueBase::dispatchBYE | ( | const std::string & | ) | [inline, protected, virtual] |
A plugin point for posting of BYE messages.
- | reason to leave the RTP session. |
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().
timeval RTPQueueBase::getInitialTime | ( | ) | const [inline] |
uint32 RTPQueueBase::getLocalSSRC | ( | ) | const [inline] |
uint32 RTPQueueBase::getLocalSSRCNetwork | ( | ) | const [inline, protected] |
virtual void RTPQueueBase::renewLocalSSRC | ( | ) | [inline, protected, virtual] |
Reimplemented in RTPDataQueue, and IncomingDataQueue.
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.
pf | payload format to use from now on. |