OPAL Version 3.10.4

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- Data Structures
- Class Hierarchy
- Data Fields

Public Member Functions
RTP_IMFrame Class Reference

`#include <im.h>`

Inheritance diagram for RTP_IMFrame:

## Public Member Functions

| RTP_IMFrame ()
| RTP_IMFrame (const PString &contentType)
| RTP_IMFrame (const PString &contentType, const T140String &content)
| RTP_IMFrame (const BYTE *data, PINDEX len, PBoolean dynamic=true)
void | SetContentType (const PString &contentType)
PString | GetContentType () const
void | SetContent (const T140String &text)
bool | GetContent (T140String &text) const
PString | AsString () const
Public Member Functions inherited from RTP_DataFrame
| RTP_DataFrame (PINDEX payloadSize=0, PINDEX bufferSize=0)
| RTP_DataFrame (const BYTE *data, PINDEX len, PBoolean dynamic=true)
unsigned | GetVersion () const
PBoolean | GetExtension () const
void | SetExtension (PBoolean ext)
PBoolean | GetMarker () const
void | SetMarker (PBoolean m)
bool | GetPadding () const
void | SetPadding (bool v)
BYTE * | GetPaddingPtr () const
unsigned | GetPaddingSize () const
bool | SetPaddingSize (PINDEX sz)
PayloadTypes | GetPayloadType () const
void | SetPayloadType (PayloadTypes t)
WORD | GetSequenceNumber () const
void | SetSequenceNumber (WORD n)
DWORD | GetTimestamp () const
void | SetTimestamp (DWORD t)
DWORD | GetSyncSource () const
void | SetSyncSource (DWORD s)
PINDEX | GetContribSrcCount () const
DWORD | GetContribSource (PINDEX idx) const
void | SetContribSource (PINDEX idx, DWORD src)
PINDEX | GetHeaderSize () const
int | GetExtensionType () const
void | SetExtensionType (int type)
PINDEX | GetExtensionSizeDWORDs () const
bool | SetExtensionSizeDWORDs (PINDEX sz)
BYTE * | GetExtensionPtr () const
PINDEX | GetPayloadSize () const
bool | SetPayloadSize (PINDEX sz)
BYTE * | GetPayloadPtr () const
virtual PObject * | Clone () const
virtual void | PrintOn (ostream &strm) const
bool | SetPacketSize (PINDEX sz)

## Additional Inherited Members

Public Types inherited from RTP_DataFrame
enum | { ProtocolVersion = 2, MinHeaderSize = 12, MaxMtuPayloadSize = (576-20-16-12) }
enum | PayloadTypes { PCMU, FS1016, G721, G726 = G721, GSM, G7231, DVI4_8k, DVI4_16k, LPC, PCMA, G722, L16_Stereo, L16_Mono, G723, CN, MPA, G728, DVI4_11k, DVI4_22k, G729, Cisco_CN, CelB = 25, JPEG, H261 = 31, MPV, MP2T, H263, T38 = 38, LastKnownPayloadType, DynamicBase = 96, MaxPayloadType = 127, IllegalPayloadType }
Protected Attributes inherited from RTP_DataFrame
PINDEX | m_headerSize
PINDEX | m_payloadSize
PINDEX | m_paddingSize

## Constructor & Destructor Documentation

RTP_IMFrame::RTP_IMFrame | ( |  | ) |

RTP_IMFrame::RTP_IMFrame | ( | const PString & | contentType | ) |

RTP_IMFrame::RTP_IMFrame | ( | const PString & | contentType,
|  | const T140String & | content
| ) |  |

RTP_IMFrame::RTP_IMFrame | ( | const BYTE * | data,
|  | PINDEX | len,
|  | PBoolean | dynamic = `true`
| ) |  |

## Member Function Documentation

PString RTP_IMFrame::AsString | ( |  | ) | const

inline

References RTP_DataFrame::GetPayloadPtr(), and RTP_DataFrame::GetPayloadSize().

bool RTP_IMFrame::GetContent | ( | T140String & | text | ) | const

PString RTP_IMFrame::GetContentType | ( |  | ) | const

void RTP_IMFrame::SetContent | ( | const T140String & | text | ) |

void RTP_IMFrame::SetContentType | ( | const PString & | contentType | ) |

The documentation for this class was generated from the following file:

- im.h