Bayonne2 / Common C++ 2 Framework
|
Dynamic payload format objects. More...
#include <formats.h>
Public Member Functions | |
DynamicPayloadFormat (PayloadType type, uint32 rate) | |
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 |
Dynamic payload format objects.
Class of payload formats objects for payload types dynamically negotiated. Because these payloads do not have a fix RTP clock rate assigned, it must be specified to the constructor. This class will be used by applications that support dynamic payload negotiation.
DynamicPayloadFormat::DynamicPayloadFormat | ( | PayloadType | type, |
uint32 | rate | ||
) |
Constructor.
Builds a dynamic payload format from payload numeric identifier and the corresponding RTP clock rate.
type | payload type numeric identifier. |
rate | RTP clock rate. |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
staticprotectedinherited |