#include <sdp.h>
Public Types | |
Digit0 = 0 | |
Digit1 = 1 | |
Digit2 = 2 | |
Digit3 = 3 | |
Digit4 = 4 | |
Digit5 = 5 | |
Digit6 = 6 | |
Digit7 = 7 | |
Digit8 = 8 | |
Digit9 = 9 | |
Star = 10 | |
Hash = 11 | |
A = 12 | |
B = 13 | |
C = 14 | |
D = 15 | |
Flash = 16 | |
enum | NTEEvent { Digit0 = 0, Digit1 = 1, Digit2 = 2, Digit3 = 3, Digit4 = 4, Digit5 = 5, Digit6 = 6, Digit7 = 7, Digit8 = 8, Digit9 = 9, Star = 10, Hash = 11, A = 12, B = 13, C = 14, D = 15, Flash = 16 } |
Public Member Functions | |
SDPMediaFormat (RTP_DataFrame::PayloadTypes payloadType, const char *name="-", unsigned rate=8000, const char *param="") | |
SDPMediaFormat (const PString &fmtp, RTP_DataFrame::PayloadTypes pt) | |
void | PrintOn (ostream &str) const |
RTP_DataFrame::PayloadTypes | GetPayloadType () const |
PString | GetEncodingName () const |
void | SetEncodingName (const PString &v) |
void | SetFMTP (const PString &_fmtp) |
PString | GetFMTP () const |
unsigned | GetClockRate (void) |
void | SetClockRate (unsigned v) |
void | SetParameters (const PString &v) |
OpalMediaFormat | GetMediaFormat () const |
Protected Member Functions | |
void | AddNTEString (const PString &str) |
void | AddNTEToken (const PString &ostr) |
PString | GetNTEString () const |
Protected Attributes | |
RTP_DataFrame::PayloadTypes | payloadType |
unsigned | clockRate |
PString | encodingName |
PString | parameters |
PString | fmtp |
POrdinalSet | nteSet |
SDPMediaFormat::SDPMediaFormat | ( | RTP_DataFrame::PayloadTypes | payloadType, | |
const char * | name = "-" , |
|||
unsigned | rate = 8000 , |
|||
const char * | param = "" | |||
) |
SDPMediaFormat::SDPMediaFormat | ( | const PString & | fmtp, | |
RTP_DataFrame::PayloadTypes | pt | |||
) |
void SDPMediaFormat::AddNTEString | ( | const PString & | str | ) | [protected] |
void SDPMediaFormat::AddNTEToken | ( | const PString & | ostr | ) | [protected] |
unsigned SDPMediaFormat::GetClockRate | ( | void | ) | [inline] |
PString SDPMediaFormat::GetEncodingName | ( | ) | const [inline] |
PString SDPMediaFormat::GetFMTP | ( | ) | const |
OpalMediaFormat SDPMediaFormat::GetMediaFormat | ( | ) | const |
PString SDPMediaFormat::GetNTEString | ( | ) | const [protected] |
RTP_DataFrame::PayloadTypes SDPMediaFormat::GetPayloadType | ( | ) | const [inline] |
void SDPMediaFormat::PrintOn | ( | ostream & | str | ) | const |
void SDPMediaFormat::SetClockRate | ( | unsigned | v | ) | [inline] |
void SDPMediaFormat::SetEncodingName | ( | const PString & | v | ) | [inline] |
void SDPMediaFormat::SetFMTP | ( | const PString & | _fmtp | ) |
void SDPMediaFormat::SetParameters | ( | const PString & | v | ) | [inline] |
unsigned SDPMediaFormat::clockRate [protected] |
PString SDPMediaFormat::encodingName [protected] |
PString SDPMediaFormat::fmtp [protected] |
POrdinalSet SDPMediaFormat::nteSet [protected] |
PString SDPMediaFormat::parameters [protected] |