OPAL Version 3.10.4

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- Data Structures
- Class Hierarchy
- Data Fields

Public Member Functions | Protected Attributes
SDPAudioMediaDescription Class Reference

`#include <sdp.h>`

Inheritance diagram for SDPAudioMediaDescription:

## Public Member Functions

| SDPAudioMediaDescription (const OpalTransportAddress &address)
virtual SDPMediaDescription * | CreateEmpty () const
virtual PString | GetSDPMediaType () const
virtual bool | PrintOn (ostream &str, const PString &connectString) const
virtual void | SetAttribute (const PString &attr, const PString &value)
bool | GetOfferPTime () const
void | SetOfferPTime (bool value)
Public Member Functions inherited from SDPRTPAVPMediaDescription
| SDPRTPAVPMediaDescription (const OpalTransportAddress &address, const OpalMediaType &mediaType)
virtual PCaselessString | GetSDPTransportType () const
virtual SDPMediaFormat * | CreateSDPMediaFormat (const PString &portString)
virtual PString | GetSDPPortList () const
Public Member Functions inherited from SDPMediaDescription
| SDPMediaDescription (const OpalTransportAddress &address, const OpalMediaType &mediaType)
virtual bool | PreEncode ()
virtual void | Encode (const OpalTransportAddress &commonAddr, ostream &str) const
virtual bool | Decode (const PStringArray &tokens)
virtual bool | Decode (char key, const PString &value)
virtual bool | PostDecode (const OpalMediaFormatList &mediaFormats)
virtual const SDPMediaFormatList & | GetSDPMediaFormats () const
virtual OpalMediaFormatList | GetMediaFormats () const
virtual void | AddSDPMediaFormat (SDPMediaFormat *sdpMediaFormat)
virtual void | AddMediaFormat (const OpalMediaFormat &mediaFormat)
virtual void | AddMediaFormats (const OpalMediaFormatList &mediaFormats, const OpalMediaType &mediaType)
virtual void | SetDirection (const Direction &d)
virtual Direction | GetDirection () const
virtual const OpalTransportAddress & | GetTransportAddress () const
virtual PBoolean | SetTransportAddress (const OpalTransportAddress &t)
virtual WORD | GetPort () const
virtual OpalMediaType | GetMediaType () const
virtual unsigned | GetBandwidth (const PString &type) const
virtual void | SetBandwidth (const PString &type, unsigned value)
virtual const SDPBandwidth & | GetBandwidth () const
virtual void | CreateSDPMediaFormats (const PStringArray &tokens)
virtual void | ProcessMediaOptions (SDPMediaFormat &sdpFormat, const OpalMediaFormat &mediaFormat)
unsigned | GetPTime () const
unsigned | GetMaxPTime () const

## Protected Attributes

bool | m_offerPTime

## Constructor & Destructor Documentation

SDPAudioMediaDescription::SDPAudioMediaDescription | ( | const OpalTransportAddress & | address | ) |

## Member Function Documentation

virtual SDPMediaDescription* SDPAudioMediaDescription::CreateEmpty | ( |  | ) | const

virtual

Implements SDPMediaDescription.

bool SDPAudioMediaDescription::GetOfferPTime | ( |  | ) | const

inline

References m_offerPTime.

virtual PString SDPAudioMediaDescription::GetSDPMediaType | ( |  | ) | const

virtual

Implements SDPMediaDescription.

virtual bool SDPAudioMediaDescription::PrintOn | ( | ostream & | str,
|  | const PString & | connectString
| ) |  | const

virtual

Reimplemented from SDPRTPAVPMediaDescription.

virtual void SDPAudioMediaDescription::SetAttribute | ( | const PString & | attr,
|  | const PString & | value
| ) |  |

virtual

Reimplemented from SDPRTPAVPMediaDescription.

void SDPAudioMediaDescription::SetOfferPTime | ( | bool | value | ) |

inline

References m_offerPTime.

## Field Documentation

bool SDPAudioMediaDescription::m_offerPTime

protected

Referenced by GetOfferPTime(), and SetOfferPTime().

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

- sdp.h