Base payload format class.
More...
#include <formats.h>
Base payload format class.
The properties of a payload format that, as an RTP stack, ccRTP takes into account are the payload type (numeric identifier) and the RTP clock rate.
This is a base class for both StaticPayloadFormat and DynamicPayloadFormat.
- Author
- Federico Montesino Pouzols fedem.nosp@m.p@al.nosp@m.tern..nosp@m.org
Definition at line 129 of file formats.h.
PayloadFormat::PayloadFormat |
( |
| ) |
|
|
inlineprotected |
virtual PayloadFormat::~PayloadFormat |
( |
| ) |
|
|
inlineprotectedvirtual |
Get payload type numeric identifier carried in RTP packets.
- Returns
- payload type numeric identifier.
Definition at line 137 of file formats.h.
uint32 PayloadFormat::getRTPClockRate |
( |
| ) |
const |
|
inline |
Get RTP clock rate for this payload format.
Note this method provides the RTP clock rate (for the timestamp in RTP data packets headers), which is not necessarily the same as the codec clock rate.
- Returns
- RTP clock rate in Hz.
Definition at line 148 of file formats.h.
Set payload type numeric identifier carried in RTP packets.
- Parameters
-
Definition at line 169 of file formats.h.
void PayloadFormat::setRTPClockRate |
( |
uint32 |
rate | ) |
|
|
inlineprotected |
Set RTP clock rate.
- Parameters
-
rate | RTP clock rate in Hz. |
Definition at line 177 of file formats.h.
NAMESPACE_COMMONCPP const uint32 PayloadFormat::defaultRTPClockRate = 8000 |
|
staticprotected |
Numeric identifier.
Definition at line 184 of file formats.h.
uint32 PayloadFormat::RTPClockRate |
|
private |
The documentation for this class was generated from the following files: