Bayonne2 / Common C++ 2 Framework
|
Static payload format objects. More...
#include <formats.h>
Public Member Functions | |
StaticPayloadFormat (StaticPayloadType type) | |
Constructor. More... | |
PayloadType | getPayloadType () const |
Get payload type numeric identifier carried in RTP packets. More... | |
uint32 | getRTPClockRate () const |
Get RTP clock rate for this payload format. More... | |
Protected Member Functions | |
void | setPayloadType (PayloadType pt) |
Set payload type numeric identifier carried in RTP packets. More... | |
void | setRTPClockRate (uint32 rate) |
Set RTP clock rate. More... | |
Static Protected Attributes | |
static const uint32 | defaultRTPClockRate |
Static Private Attributes | |
static uint32 | staticAudioTypesRates [lastStaticAudioPayloadType-firstStaticPayloadType+1] |
RTP clock rate for static payload types. More... | |
Static payload format objects.
Class of payload formats objects for payload types statically assigned. Because these payloads have an RTP clock rate assigned, it is not specified to the constructor. A call to StaticPayloadFormat(sptPCMU) will set the proper clock rate and any other parameters for that static payload type.
StaticPayloadFormat::StaticPayloadFormat | ( | StaticPayloadType | type | ) |
Constructor.
Builds a payload format from a static payload binding identifier, assigning the numeric identifier and RTP clock rate statically bounded.
type | Numeric identifier in the range 0-96. |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
staticprotectedinherited |
|
staticprivate |