|
ccRTP
|
Dynamic payload format objects. More...
#include <formats.h>
Public Member Functions | |
| DynamicPayloadFormat (PayloadType type, uint32 rate) | |
| Constructor. More... | |
Public Member Functions inherited from PayloadFormat | |
| 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... | |
Additional Inherited Members | |
Protected Member Functions inherited from PayloadFormat | |
| PayloadFormat () | |
| PayloadFormat must not be used but as base class. More... | |
| virtual | ~PayloadFormat () |
| PayloadFormat must not be used but as base class. More... | |
| 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 inherited from PayloadFormat | |
| 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. |
1.8.14