#include <sdp.h>
Public Member Functions | |
SDPMediaFormat (SDPMediaDescription &parent, RTP_DataFrame::PayloadTypes payloadType, const char *name=NULL) | |
SDPMediaFormat (SDPMediaDescription &parent, const OpalMediaFormat &mediaFormat) | |
virtual 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) |
void | SetPacketTime (const PString &optionName, unsigned ptime) |
const OpalMediaFormat & | GetMediaFormat () const |
bool | PreEncode () |
bool | PostDecode (unsigned bandwidth) |
Protected Member Functions | |
void | InitialiseMediaFormat () |
Protected Attributes | |
OpalMediaFormat | mediaFormat |
SDPMediaDescription & | m_parent |
RTP_DataFrame::PayloadTypes | payloadType |
unsigned | clockRate |
PString | encodingName |
PString | parameters |
PString | fmtp |
SDPMediaFormat::SDPMediaFormat | ( | SDPMediaDescription & | parent, | |
RTP_DataFrame::PayloadTypes | payloadType, | |||
const char * | name = NULL | |||
) |
SDPMediaFormat::SDPMediaFormat | ( | SDPMediaDescription & | parent, | |
const OpalMediaFormat & | mediaFormat | |||
) |
unsigned SDPMediaFormat::GetClockRate | ( | void | ) | [inline] |
References clockRate.
PString SDPMediaFormat::GetEncodingName | ( | ) | const [inline] |
References encodingName.
PString SDPMediaFormat::GetFMTP | ( | ) | const |
const OpalMediaFormat& SDPMediaFormat::GetMediaFormat | ( | ) | const |
RTP_DataFrame::PayloadTypes SDPMediaFormat::GetPayloadType | ( | ) | const [inline] |
void SDPMediaFormat::InitialiseMediaFormat | ( | ) | [protected] |
bool SDPMediaFormat::PostDecode | ( | unsigned | bandwidth | ) |
bool SDPMediaFormat::PreEncode | ( | ) |
virtual void SDPMediaFormat::PrintOn | ( | ostream & | str | ) | const [virtual] |
void SDPMediaFormat::SetClockRate | ( | unsigned | v | ) | [inline] |
References clockRate.
void SDPMediaFormat::SetEncodingName | ( | const PString & | v | ) | [inline] |
References encodingName.
void SDPMediaFormat::SetFMTP | ( | const PString & | _fmtp | ) |
void SDPMediaFormat::SetPacketTime | ( | const PString & | optionName, | |
unsigned | ptime | |||
) |
void SDPMediaFormat::SetParameters | ( | const PString & | v | ) | [inline] |
References parameters.
unsigned SDPMediaFormat::clockRate [protected] |
Referenced by GetClockRate(), and SetClockRate().
PString SDPMediaFormat::encodingName [protected] |
Referenced by GetEncodingName(), and SetEncodingName().
PString SDPMediaFormat::fmtp [protected] |
SDPMediaDescription& SDPMediaFormat::m_parent [protected] |
OpalMediaFormat SDPMediaFormat::mediaFormat [protected] |
PString SDPMediaFormat::parameters [protected] |
Referenced by SetParameters().