SDPMediaFormat Class Reference

`#include <sdp.h>`

Inheritance diagram for SDPMediaFormat:

## 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 OpalMediaFormat & | GetMediaFormat () const
OpalMediaFormat & | GetWritableMediaFormat ()
bool | PreEncode ()
bool | PostDecode (const OpalMediaFormatList &mediaFormats, unsigned bandwidth)

## Protected Member Functions

void | SetMediaFormatOptions (OpalMediaFormat &mediaFormat) const

## Protected Attributes

OpalMediaFormat | m_mediaFormat
SDPMediaDescription & | m_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

const OpalMediaFormat& SDPMediaFormat::GetMediaFormat | ( |  | ) | const

inline

References m_mediaFormat.

RTP_DataFrame::PayloadTypes SDPMediaFormat::GetPayloadType | ( |  | ) | const

inline

References payloadType.

OpalMediaFormat& SDPMediaFormat::GetWritableMediaFormat | ( |  | ) |

inline

References m_mediaFormat.

bool SDPMediaFormat::PostDecode | ( | const OpalMediaFormatList & | mediaFormats,
|  | 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::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

OpalMediaFormat SDPMediaFormat::m_mediaFormat

protected

Referenced by GetMediaFormat(), and GetWritableMediaFormat().

SDPMediaDescription& SDPMediaFormat::m_parent

protected

PString SDPMediaFormat::m_rtcp_fb

protected

Referenced by SetRTCP_FB().

PString SDPMediaFormat::parameters

protected

Referenced by SetParameters().

RTP_DataFrame::PayloadTypes SDPMediaFormat::payloadType

protected

Referenced by GetPayloadType().

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

- sdp.h