OPAL  Version 3.10.10
SDPSessionDescription Class Reference

#include <sdp.h>

Inheritance diagram for SDPSessionDescription:

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::SDPSessionDescription ( time_t  sessionId,
unsigned  version,
const OpalTransportAddress address 
)

Member Function Documentation

◆ AddMediaDescription()

void SDPSessionDescription::AddMediaDescription ( SDPMediaDescription md)
inline

◆ ApplicationSpecificBandwidthType()

static const PCaselessString& SDPSessionDescription::ApplicationSpecificBandwidthType ( )
static

◆ ConferenceTotalBandwidthType()

static const PCaselessString& SDPSessionDescription::ConferenceTotalBandwidthType ( )
static

◆ Decode()

bool SDPSessionDescription::Decode ( const PString &  str,
const OpalMediaFormatList mediaFormats 
)

◆ Encode()

PString SDPSessionDescription::Encode ( ) const

◆ GetBandwidth()

unsigned SDPSessionDescription::GetBandwidth ( const PString &  type) const
inline

◆ GetDefaultConnectAddress()

const OpalTransportAddress& SDPSessionDescription::GetDefaultConnectAddress ( ) const
inline

◆ GetDirection()

SDPMediaDescription::Direction SDPSessionDescription::GetDirection ( unsigned  ) const

◆ GetMediaDescriptionByIndex()

SDPMediaDescription* SDPSessionDescription::GetMediaDescriptionByIndex ( PINDEX  i) const

◆ GetMediaDescriptionByType()

SDPMediaDescription* SDPSessionDescription::GetMediaDescriptionByType ( const OpalMediaType rtpMediaType) const

◆ GetMediaDescriptions()

const SDPMediaDescriptionArray& SDPSessionDescription::GetMediaDescriptions ( ) const
inline

◆ GetMediaFormats()

OpalMediaFormatList SDPSessionDescription::GetMediaFormats ( ) const

◆ GetOwnerAddress()

OpalTransportAddress SDPSessionDescription::GetOwnerAddress ( ) const
inline

◆ GetOwnerSessionId()

time_t SDPSessionDescription::GetOwnerSessionId ( ) const
inline

◆ GetOwnerVersion()

PINDEX SDPSessionDescription::GetOwnerVersion ( ) const
inline

◆ GetSessionName()

PString SDPSessionDescription::GetSessionName ( ) const
inline

◆ GetUserName()

PString SDPSessionDescription::GetUserName ( ) const
inline

◆ IsHold()

bool SDPSessionDescription::IsHold ( ) const

◆ ParseOwner()

void SDPSessionDescription::ParseOwner ( const PString &  str)
protected

◆ PrintOn()

void SDPSessionDescription::PrintOn ( ostream &  strm) const

◆ SetBandwidth()

void SDPSessionDescription::SetBandwidth ( const PString &  type,
unsigned  value 
)
inline

◆ SetDefaultConnectAddress()

void SDPSessionDescription::SetDefaultConnectAddress ( const OpalTransportAddress address)

◆ SetDirection()

void SDPSessionDescription::SetDirection ( const SDPMediaDescription::Direction d)
inline

◆ SetOwnerAddress()

void SDPSessionDescription::SetOwnerAddress ( OpalTransportAddress  addr)
inline

◆ SetOwnerSessionId()

void SDPSessionDescription::SetOwnerSessionId ( time_t  value)
inline

◆ SetOwnerVersion()

void SDPSessionDescription::SetOwnerVersion ( PINDEX  value)
inline

◆ SetSessionName()

void SDPSessionDescription::SetSessionName ( const PString &  v)

◆ SetUserName()

void SDPSessionDescription::SetUserName ( const PString &  v)

◆ TransportIndependentBandwidthType()

static const PCaselessString& SDPSessionDescription::TransportIndependentBandwidthType ( )
static

Field Documentation

◆ bandwidth

SDPBandwidth SDPSessionDescription::bandwidth
protected

◆ defaultConnectAddress

OpalTransportAddress SDPSessionDescription::defaultConnectAddress
protected

◆ direction

SDPMediaDescription::Direction SDPSessionDescription::direction
protected

◆ mediaDescriptions

SDPMediaDescriptionArray SDPSessionDescription::mediaDescriptions
protected

◆ ownerAddress

OpalTransportAddress SDPSessionDescription::ownerAddress
protected

◆ ownerSessionId

time_t SDPSessionDescription::ownerSessionId
protected

◆ ownerUsername

PString SDPSessionDescription::ownerUsername
protected

◆ ownerVersion

unsigned SDPSessionDescription::ownerVersion
protected

◆ protocolVersion

PINDEX SDPSessionDescription::protocolVersion
protected

◆ sessionName

PString SDPSessionDescription::sessionName
protected

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