OPAL  Version 3.10.4
SDPMediaFormat Class Reference

#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
const PCaselessString & 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 SetRTCP_FB (const PString &v)
const OpalMediaFormatGetMediaFormat () const
OpalMediaFormatGetWritableMediaFormat ()
bool PreEncode ()
bool PostDecode (const OpalMediaFormatList &mediaFormats, unsigned bandwidth)

Protected Member Functions

void SetMediaFormatOptions (OpalMediaFormat &mediaFormat) const

Protected Attributes

OpalMediaFormat m_mediaFormat
SDPMediaDescriptionm_parent
RTP_DataFrame::PayloadTypes payloadType
unsigned clockRate
PCaselessString encodingName
PString parameters
PString m_fmtp
PString m_rtcp_fb

Constructor & Destructor Documentation

SDPMediaFormat::SDPMediaFormat ( SDPMediaDescription parent,
RTP_DataFrame::PayloadTypes  payloadType,
const char *  name = NULL 
)
SDPMediaFormat::SDPMediaFormat ( SDPMediaDescription parent,
const OpalMediaFormat mediaFormat 
)

Member Function Documentation

unsigned SDPMediaFormat::GetClockRate ( void  ) [inline]

References clockRate.

const PCaselessString& SDPMediaFormat::GetEncodingName ( ) const [inline]

References encodingName.

PString SDPMediaFormat::GetFMTP ( ) const

References m_mediaFormat.

bool SDPMediaFormat::PostDecode ( const OpalMediaFormatList mediaFormats,
unsigned  bandwidth 
)
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::SetMediaFormatOptions ( OpalMediaFormat mediaFormat) const [protected]
void SDPMediaFormat::SetParameters ( const PString &  v) [inline]

References parameters.

void SDPMediaFormat::SetRTCP_FB ( const PString &  v) [inline]

References m_rtcp_fb.


Field Documentation

unsigned SDPMediaFormat::clockRate [protected]

Referenced by GetClockRate(), and SetClockRate().

PCaselessString SDPMediaFormat::encodingName [protected]

Referenced by GetEncodingName(), and SetEncodingName().

PString SDPMediaFormat::m_fmtp [protected]
PString SDPMediaFormat::m_rtcp_fb [protected]

Referenced by SetRTCP_FB().

PString SDPMediaFormat::parameters [protected]

Referenced by SetParameters().


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