#include <rtp.h>
Public Types | |
enum | PayloadTypes { e_SenderReport = 200, e_ReceiverReport, e_SourceDescription, e_Goodbye, e_ApplDefined } |
enum | DescriptionTypes { e_END, e_CNAME, e_NAME, e_EMAIL, e_PHONE, e_LOC, e_TOOL, e_NOTE, e_PRIV, NumDescriptionTypes } |
Public Member Functions | |
RTP_ControlFrame (PINDEX compoundSize=2048) | |
unsigned | GetVersion () const |
unsigned | GetCount () const |
void | SetCount (unsigned count) |
unsigned | GetPayloadType () const |
void | SetPayloadType (unsigned t) |
PINDEX | GetPayloadSize () const |
void | SetPayloadSize (PINDEX sz) |
BYTE * | GetPayloadPtr () const |
BOOL | ReadNextCompound () |
BOOL | WriteNextCompound () |
PINDEX | GetCompoundSize () const |
SourceDescription & | AddSourceDescription (DWORD src) |
SourceDescription::Item & | AddSourceDescriptionItem (SourceDescription &sdes, unsigned type, const PString &data) |
Protected Attributes | |
PINDEX | compoundOffset |
PINDEX | compoundSize |
Classes | |
struct | ReceiverReport |
struct | SenderReport |
struct | SourceDescription |
RTP_ControlFrame::RTP_ControlFrame | ( | PINDEX | compoundSize = 2048 |
) |
unsigned RTP_ControlFrame::GetVersion | ( | ) | const [inline] |
unsigned RTP_ControlFrame::GetCount | ( | ) | const [inline] |
void RTP_ControlFrame::SetCount | ( | unsigned | count | ) |
unsigned RTP_ControlFrame::GetPayloadType | ( | ) | const [inline] |
void RTP_ControlFrame::SetPayloadType | ( | unsigned | t | ) |
PINDEX RTP_ControlFrame::GetPayloadSize | ( | ) | const [inline] |
void RTP_ControlFrame::SetPayloadSize | ( | PINDEX | sz | ) |
BYTE* RTP_ControlFrame::GetPayloadPtr | ( | ) | const [inline] |
BOOL RTP_ControlFrame::ReadNextCompound | ( | ) |
BOOL RTP_ControlFrame::WriteNextCompound | ( | ) |
PINDEX RTP_ControlFrame::GetCompoundSize | ( | ) | const [inline] |
SourceDescription& RTP_ControlFrame::AddSourceDescription | ( | DWORD | src | ) |
src | SSRC/CSRC identifier |
SourceDescription::Item& RTP_ControlFrame::AddSourceDescriptionItem | ( | SourceDescription & | sdes, | |
unsigned | type, | |||
const PString & | data | |||
) |
sdes | SDES record to add item to |
type | Description type |
data | Data for description |
PINDEX RTP_ControlFrame::compoundOffset [protected] |
PINDEX RTP_ControlFrame::compoundSize [protected] |