OPAL  Version 3.10.4
SDPSessionDescription Class Reference

#include <sdp.h>

Public Member Functions

 SDPSessionDescription (time_t sessionId, unsigned version, const OpalTransportAddress &address)
void PrintOn (ostream &strm) const
PString Encode () const
bool Decode (const PString &str, const OpalMediaFormatList &mediaFormats)
void SetSessionName (const PString &v)
PString GetSessionName () const
void SetUserName (const PString &v)
PString GetUserName () const
const SDPMediaDescriptionArray & GetMediaDescriptions () const
SDPMediaDescriptionGetMediaDescriptionByType (const OpalMediaType &rtpMediaType) const
SDPMediaDescriptionGetMediaDescriptionByIndex (PINDEX i) const
void AddMediaDescription (SDPMediaDescription *md)
void SetDirection (const SDPMediaDescription::Direction &d)
SDPMediaDescription::Direction GetDirection (unsigned) const
bool IsHold () const
const OpalTransportAddressGetDefaultConnectAddress () const
void SetDefaultConnectAddress (const OpalTransportAddress &address)
time_t GetOwnerSessionId () const
void SetOwnerSessionId (time_t value)
PINDEX GetOwnerVersion () const
void SetOwnerVersion (PINDEX value)
OpalTransportAddress GetOwnerAddress () const
void SetOwnerAddress (OpalTransportAddress addr)
unsigned GetBandwidth (const PString &type) const
void SetBandwidth (const PString &type, unsigned value)
OpalMediaFormatList GetMediaFormats () const

Static Public Member Functions

static const PCaselessString & ConferenceTotalBandwidthType ()
static const PCaselessString & ApplicationSpecificBandwidthType ()
static const PCaselessString & TransportIndependentBandwidthType ()

Protected Member Functions

void ParseOwner (const PString &str)

Protected Attributes

SDPMediaDescriptionArray mediaDescriptions
SDPMediaDescription::Direction direction
PINDEX protocolVersion
PString sessionName
PString ownerUsername
time_t ownerSessionId
unsigned ownerVersion
OpalTransportAddress ownerAddress
OpalTransportAddress defaultConnectAddress
SDPBandwidth bandwidth

Constructor & Destructor Documentation

SDPSessionDescription::SDPSessionDescription ( time_t  sessionId,
unsigned  version,
const OpalTransportAddress address 
)

Member Function Documentation

static const PCaselessString& SDPSessionDescription::ApplicationSpecificBandwidthType ( ) [static]
static const PCaselessString& SDPSessionDescription::ConferenceTotalBandwidthType ( ) [static]
bool SDPSessionDescription::Decode ( const PString &  str,
const OpalMediaFormatList mediaFormats 
)
PString SDPSessionDescription::Encode ( ) const
unsigned SDPSessionDescription::GetBandwidth ( const PString &  type) const [inline]

References bandwidth.

const SDPMediaDescriptionArray& SDPSessionDescription::GetMediaDescriptions ( ) const [inline]

References mediaDescriptions.

time_t SDPSessionDescription::GetOwnerSessionId ( ) const [inline]

References ownerSessionId.

PINDEX SDPSessionDescription::GetOwnerVersion ( ) const [inline]

References ownerVersion.

PString SDPSessionDescription::GetSessionName ( ) const [inline]

References sessionName.

PString SDPSessionDescription::GetUserName ( ) const [inline]

References ownerUsername.

void SDPSessionDescription::ParseOwner ( const PString &  str) [protected]
void SDPSessionDescription::PrintOn ( ostream &  strm) const
void SDPSessionDescription::SetBandwidth ( const PString &  type,
unsigned  value 
) [inline]

References bandwidth.

void SDPSessionDescription::SetOwnerSessionId ( time_t  value) [inline]

References ownerSessionId.

void SDPSessionDescription::SetOwnerVersion ( PINDEX  value) [inline]

References ownerVersion.

void SDPSessionDescription::SetSessionName ( const PString &  v)
void SDPSessionDescription::SetUserName ( const PString &  v)
static const PCaselessString& SDPSessionDescription::TransportIndependentBandwidthType ( ) [static]

Field Documentation

SDPMediaDescriptionArray SDPSessionDescription::mediaDescriptions [protected]

Referenced by GetUserName().

Referenced by GetSessionName().


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