SDPRTPAVPMediaDescription Class Reference

`#include <sdp.h>`

Inheritance diagram for SDPRTPAVPMediaDescription:

## Public Member Functions

| SDPRTPAVPMediaDescription (const OpalTransportAddress &address, const OpalMediaType &mediaType)
virtual PCaselessString | GetSDPTransportType () const
virtual SDPMediaFormat * | CreateSDPMediaFormat (const PString &portString)
virtual PString | GetSDPPortList () const
virtual bool | PrintOn (ostream &str, const PString &connectString) const
virtual void | SetAttribute (const PString &attr, const PString &value)
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 SDPMediaDescription * | CreateEmpty () const =0
virtual PString | GetSDPMediaType () const =0
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

## Additional Inherited Members

Public Types inherited from SDPMediaDescription
enum | Direction { Undefined = -1, Inactive, RecvOnly, SendOnly, SendRecv }
Protected Member Functions inherited from SDPMediaDescription
virtual SDPMediaFormat * | FindFormat (PString &str) const
Protected Attributes inherited from SDPMediaDescription
OpalTransportAddress | transportAddress
Direction | direction
WORD | port
WORD | portCount
OpalMediaType | mediaType
SDPMediaFormatList | formats
SDPBandwidth | bandwidth
unsigned | ptime
unsigned | maxptime

## Constructor & Destructor Documentation

SDPRTPAVPMediaDescription::SDPRTPAVPMediaDescription | ( | const OpalTransportAddress & | address,
|  | const OpalMediaType & | mediaType
| ) |  |

## Member Function Documentation

virtual SDPMediaFormat* SDPRTPAVPMediaDescription::CreateSDPMediaFormat | ( | const PString & | portString | ) |

virtual

Implements SDPMediaDescription.

virtual PString SDPRTPAVPMediaDescription::GetSDPPortList | ( |  | ) | const

virtual

Implements SDPMediaDescription.

virtual PCaselessString SDPRTPAVPMediaDescription::GetSDPTransportType | ( |  | ) | const

virtual

Implements SDPMediaDescription.

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

virtual

Reimplemented from SDPMediaDescription.

Reimplemented in SDPVideoMediaDescription, and SDPAudioMediaDescription.

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

virtual

Reimplemented from SDPMediaDescription.

Reimplemented in SDPVideoMediaDescription, and SDPAudioMediaDescription.

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

- sdp.h