#include <PayloadTypeEntry.h>
Public Member Functions | |
PayloadTypeTable () | |
~PayloadTypeTable () | |
bool | lookup (int pt) const |
PayloadTypes | get_pt (int pt) const |
const char * | get_name (int pt) const |
bool | get (int pt, PayloadTypeEntry &entry) const |
size_t | get_keys (int *&out_keys) const |
bool | get_key (size_t idx, int &out_key) const |
bool | insert (int pt, const PayloadTypeEntry &entry) |
bool | update (int pt, const PayloadTypeEntry &entry) |
size_t | size () const |
void | clear () |
const char * | getConfig (int pt) const |
unsigned | getConfigSize (int pt) const |
int | getSizelength (int pt) const |
int | getIndexlength (int pt) const |
int | getIndexdeltalength (int pt) const |
size_t | getRate (int pt) const |
size_t | getNumChannels (int pt) const |
void | add_rtpmap_info (MNString s) |
PayloadTypeTable & | operator= (const PayloadTypeTable &orig) |
|
Constructs payload type table (PTT) |
|
|
|
Adds parsed rtpmap information |
|
Clears PTT. |
|
Function to retrieve entry from PTT. |
|
Retrieves a key for a given index. |
|
Retrieves list of keys of PTT |
|
Returns name from PTT |
|
Returns internal payload type from PTT. |
|
Retrieves configuration information (applicable for some dynamic PT) |
|
Retrieves size of configuration information |
|
Retrieves index-delta-length parameter (RFC 3640) |
|
Retrieves indexlength parameter (RFC3640) |
|
Retrieves number of channels |
|
Retrieves rate |
|
Retrieves sizelength parameter (applicable for MP4 audio as in RFC3640) |
|
Inserts entry into PTT. |
|
Decides if payload type is existent in PTT. |
|
|
|
Returns size of PTT. |
|
Updates values of entry in PTT. Essential for dynamic payload types. |