OPAL
Version 3.12.9
|
#include <sdp.h>
Public Member Functions | |
SDPSessionDescription (time_t sessionId, unsigned version, const OpalTransportAddress &address) | |
virtual void | PrintOn (ostream &strm) const |
virtual PString | Encode () const |
virtual 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 |
SDPMediaDescription * | GetMediaDescriptionByType (const OpalMediaType &rtpMediaType) const |
SDPMediaDescription * | GetMediaDescriptionByIndex (PINDEX i) const |
void | AddMediaDescription (SDPMediaDescription *md) |
virtual SDPMediaDescription::Direction | GetDirection (unsigned) const |
bool | IsHold () const |
const OpalTransportAddress & | GetDefaultConnectAddress () const |
void | SetDefaultConnectAddress (const OpalTransportAddress &address) |
time_t | GetOwnerSessionId () const |
void | SetOwnerSessionId (time_t value) |
unsigned | GetOwnerVersion () const |
void | SetOwnerVersion (unsigned value) |
OpalTransportAddress | GetOwnerAddress () const |
void | SetOwnerAddress (OpalTransportAddress addr) |
OpalMediaFormatList | GetMediaFormats () const |
![]() | |
SDPCommonAttributes () | |
virtual | ~SDPCommonAttributes () |
virtual void | SetDirection (const Direction &d) |
virtual Direction | GetDirection () const |
virtual OpalBandwidth | GetBandwidth (const PString &type) const |
virtual void | SetBandwidth (const PString &type, OpalBandwidth value) |
virtual const SDPBandwidth & | GetBandwidth () const |
virtual const RTPExtensionHeaders & | GetExtensionHeaders () const |
virtual void | SetExtensionHeader (const RTPExtensionHeaderInfo &ext) |
virtual void | ParseAttribute (const PString &value) |
virtual void | SetAttribute (const PString &attr, const PString &value) |
virtual void | OutputAttributes (ostream &strm) const |
Protected Member Functions | |
void | ParseOwner (const PString &str) |
Protected Attributes | |
SDPMediaDescriptionArray | mediaDescriptions |
PINDEX | protocolVersion |
PString | sessionName |
PString | ownerUsername |
time_t | ownerSessionId |
unsigned | ownerVersion |
OpalTransportAddress | ownerAddress |
OpalTransportAddress | defaultConnectAddress |
![]() | |
Direction | m_direction |
SDPBandwidth | m_bandwidth |
RTPExtensionHeaders | m_extensionHeaders |
Additional Inherited Members | |
![]() | |
enum | Direction { Undefined = -1, Inactive, RecvOnly, SendOnly, SendRecv } |
![]() | |
static const PCaselessString & | ConferenceTotalBandwidthType () |
static const PCaselessString & | ApplicationSpecificBandwidthType () |
static const PCaselessString & | TransportIndependentBandwidthType () |
SDPSessionDescription::SDPSessionDescription | ( | time_t | sessionId, |
unsigned | version, | ||
const OpalTransportAddress & | address | ||
) |
|
inline |
References mediaDescriptions.
|
virtual |
|
virtual |
|
inline |
References defaultConnectAddress.
|
virtual |
SDPMediaDescription* SDPSessionDescription::GetMediaDescriptionByIndex | ( | PINDEX | i | ) | const |
SDPMediaDescription* SDPSessionDescription::GetMediaDescriptionByType | ( | const OpalMediaType & | rtpMediaType | ) | const |
|
inline |
References mediaDescriptions.
OpalMediaFormatList SDPSessionDescription::GetMediaFormats | ( | ) | const |
|
inline |
References ownerAddress.
|
inline |
References ownerSessionId.
|
inline |
References ownerVersion.
|
inline |
References sessionName.
|
inline |
References ownerUsername.
bool SDPSessionDescription::IsHold | ( | ) | const |
|
protected |
|
virtual |
void SDPSessionDescription::SetDefaultConnectAddress | ( | const OpalTransportAddress & | address | ) |
|
inline |
References ownerAddress.
|
inline |
References ownerSessionId.
|
inline |
References ownerVersion.
void SDPSessionDescription::SetSessionName | ( | const PString & | v | ) |
void SDPSessionDescription::SetUserName | ( | const PString & | v | ) |
|
protected |
Referenced by GetDefaultConnectAddress().
|
protected |
Referenced by AddMediaDescription(), and GetMediaDescriptions().
|
protected |
Referenced by GetOwnerAddress(), and SetOwnerAddress().
|
protected |
Referenced by GetOwnerSessionId(), and SetOwnerSessionId().
|
protected |
Referenced by GetUserName().
|
protected |
Referenced by GetOwnerVersion(), and SetOwnerVersion().
|
protected |
|
protected |
Referenced by GetSessionName().