sipxmedialib
Version 3.3
|
Helper class for MprDecode - it maps payload types to decoder instances. More...
#include <MpDecoderPayloadMap.h>
Public Types | |
enum | { NUM_PAYLOAD_TYPES = (1<<8) } |
Public Member Functions | |
Creators | |
MpDecoderPayloadMap () | |
Constructor. More... | |
Manipulators | |
void | addPayloadType (int payloadType, MpDecoderBase *pDecoder) |
Add an RTP payload type to decoder instance mapping table. More... | |
void | deletePayloadType (int payloadType) |
Remove an RTP payload type from decoder instance map. More... | |
Accessors | |
MpDecoderBase * | mapPayloadType (int payloadType) const |
Get decoder for this payload type. More... | |
Private Attributes | |
MpDecoderBase * | mpPayloadMap [NUM_PAYLOAD_TYPES] |
Map RTP payload types to our decoders. More... | |
Helper class for MprDecode - it maps payload types to decoder instances.
Constructor.
void addPayloadType | ( | int | payloadType, |
MpDecoderBase * | pDecoder | ||
) |
Add an RTP payload type to decoder instance mapping table.
void deletePayloadType | ( | int | payloadType | ) |
Remove an RTP payload type from decoder instance map.
MpDecoderBase * mapPayloadType | ( | int | payloadType | ) | const |
Get decoder for this payload type.
|
private |
Map RTP payload types to our decoders.