Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

SDP::PayloadTypeTable Class Reference

#include <PayloadTypeEntry.h>

List of all members.

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)
PayloadTypeTableoperator= (const PayloadTypeTable &orig)


Constructor & Destructor Documentation

SDP::PayloadTypeTable::PayloadTypeTable  ) 
 

Constructs payload type table (PTT)

SDP::PayloadTypeTable::~PayloadTypeTable  ) 
 


Member Function Documentation

void SDP::PayloadTypeTable::add_rtpmap_info MNString  s  ) 
 

Adds parsed rtpmap information

void SDP::PayloadTypeTable::clear  ) 
 

Clears PTT.

bool SDP::PayloadTypeTable::get int  pt,
PayloadTypeEntry entry
const
 

Function to retrieve entry from PTT.

bool SDP::PayloadTypeTable::get_key size_t  idx,
int &  out_key
const
 

Retrieves a key for a given index.

size_t SDP::PayloadTypeTable::get_keys int *&  out_keys  )  const
 

Retrieves list of keys of PTT

const char* SDP::PayloadTypeTable::get_name int  pt  )  const
 

Returns name from PTT

PayloadTypes SDP::PayloadTypeTable::get_pt int  pt  )  const
 

Returns internal payload type from PTT.

const char* SDP::PayloadTypeTable::getConfig int  pt  )  const
 

Retrieves configuration information (applicable for some dynamic PT)

unsigned SDP::PayloadTypeTable::getConfigSize int  pt  )  const
 

Retrieves size of configuration information

int SDP::PayloadTypeTable::getIndexdeltalength int  pt  )  const
 

Retrieves index-delta-length parameter (RFC 3640)

int SDP::PayloadTypeTable::getIndexlength int  pt  )  const
 

Retrieves indexlength parameter (RFC3640)

size_t SDP::PayloadTypeTable::getNumChannels int  pt  )  const
 

Retrieves number of channels

size_t SDP::PayloadTypeTable::getRate int  pt  )  const
 

Retrieves rate

int SDP::PayloadTypeTable::getSizelength int  pt  )  const
 

Retrieves sizelength parameter (applicable for MP4 audio as in RFC3640)

bool SDP::PayloadTypeTable::insert int  pt,
const PayloadTypeEntry entry
 

Inserts entry into PTT.

bool SDP::PayloadTypeTable::lookup int  pt  )  const
 

Decides if payload type is existent in PTT.

PayloadTypeTable& SDP::PayloadTypeTable::operator= const PayloadTypeTable orig  ) 
 

size_t SDP::PayloadTypeTable::size  )  const
 

Returns size of PTT.

bool SDP::PayloadTypeTable::update int  pt,
const PayloadTypeEntry entry
 

Updates values of entry in PTT. Essential for dynamic payload types.


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 13:36:23 2005 for Komssys by doxygen 1.3.8