Base payload format class.
More...
#include <formats.h>
Inheritance diagram for PayloadFormat:
Collaboration diagram for PayloadFormat:
Public Member Functions
Get payload type numeric identifier carried in RTP packets.
More...
Get RTP clock rate for this payload format.
More...
Protected Member Functions
Set payload type numeric identifier carried in RTP packets.
More...
Static Protected Attributes
Private Attributes
Detailed Description
Constructor & Destructor Documentation
PayloadFormat::PayloadFormat
(
)
inlineprotected
virtual PayloadFormat::~PayloadFormat
(
)
inlineprotectedvirtual
Member Function Documentation
Get payload type numeric identifier carried in RTP packets.
- Returns
- payload type numeric identifier.
Definition at line 140 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 151 of file formats.h.
Set payload type numeric identifier carried in RTP packets.
- Parameters
-
pt payload type number.
Definition at line 172 of file formats.h.
void PayloadFormat::setRTPClockRate
(
uint32
rate )
inlineprotected
Set RTP clock rate.
- Parameters
-
rate RTP clock rate in Hz.
Definition at line 180 of file formats.h.
Field Documentation
const uint32 PayloadFormat::defaultRTPClockRate
staticprotected
Numeric identifier.
Definition at line 187 of file formats.h.
uint32 PayloadFormat::RTPClockRate
private
The documentation for this class was generated from the following file: