|
OPAL
Version 3.14.3
|
#include <msrp.h>


Public Member Functions | |
| OpalMSRPMediaSession (const Init &init) | |
| ~OpalMSRPMediaSession () | |
| virtual PObject * | Clone () const |
| virtual const PCaselessString & | GetSessionType () const |
| virtual bool | Open (const PString &localInterface, const OpalTransportAddress &remoteAddress, bool isMediaAddress) |
| virtual bool | Close () |
| virtual OpalTransportAddress | GetLocalAddress (bool isMediaAddress=true) const |
| virtual OpalTransportAddress | GetRemoteAddress (bool isMediaAddress=true) const |
| virtual bool | SetRemoteAddress (const OpalTransportAddress &remoteAddress, bool isMediaAddress=true) |
| PURL | GetLocalURL () const |
| PURL | GetRemoteURL () const |
| void | SetRemoteURL (const PURL &url) |
| virtual bool | WritePacket (RTP_DataFrame &frame) |
| PBoolean | ReadData (BYTE *data, PINDEX length, PINDEX &read) |
| virtual OpalMediaStream * | CreateMediaStream (const OpalMediaFormat &mediaFormat, unsigned sessionID, PBoolean isSource) |
| OpalMSRPManager & | GetManager () |
| bool | OpenMSRP (const PURL &remoteUrl) |
| void | CloseMSRP () |
| void | SetConnection (PSafePtr< OpalMSRPManager::Connection > &conn) |
Public Member Functions inherited from OpalMediaSession | |
| virtual bool | IsOpen () const |
| virtual void | AttachTransport (Transport &transport) |
| virtual Transport | DetachTransport () |
| virtual OpalMediaStream * | CreateMediaStream (const OpalMediaFormat &mediaFormat, unsigned sessionID, bool isSource)=0 |
| virtual void | GetStatistics (OpalMediaStatistics &statistics, bool receiver) const |
| void | OfferCryptoSuite (const PString &cryptoSuite) |
| virtual OpalMediaCryptoKeyList & | GetOfferedCryptoKeys () |
| virtual bool | ApplyCryptoKey (OpalMediaCryptoKeyList &keys, bool rx) |
| virtual bool | IsCryptoSecured (bool rx) const |
| OpalConnection & | GetConnection () const |
| unsigned | GetSessionID () const |
| const OpalMediaType & | GetMediaType () const |
| const PString & | GetLocalUsername () const |
| const PString & | GetLocalPassword () const |
| virtual void | SetRemoteUserPass (const PString &user, const PString &pass) |
Static Public Member Functions | |
| static const PCaselessString & | TCP_MSRP () |
Data Fields | |
| OpalMSRPManager & | m_manager |
| bool | m_isOriginating |
| std::string | m_localMSRPSessionId |
| PURL | m_localUrl |
| PURL | m_remoteUrl |
| PSafePtr < OpalMSRPManager::Connection > | m_connectionPtr |
| OpalTransportAddress | m_remoteAddress |
Additional Inherited Members | |
Public Types inherited from OpalMediaSession | |
| typedef PList< PChannel > | Transport |
Protected Member Functions inherited from OpalMediaSession | |
| OpalMediaSession (const Init &init) | |
Protected Attributes inherited from OpalMediaSession | |
| OpalConnection & | m_connection |
| unsigned | m_sessionId |
| OpalMediaType | m_mediaType |
| PString | m_localUsername |
| PString | m_localPassword |
| PString | m_remoteUsername |
| PString | m_remotePassword |
| OpalMediaCryptoKeyList | m_offeredCryptokeys |
Class for carrying MSRP session information
| OpalMSRPMediaSession::~OpalMSRPMediaSession | ( | ) |
|
inlinevirtual |
References OpalMSRPMediaSession().
|
virtual |
Reimplemented from OpalMediaSession.
| void OpalMSRPMediaSession::CloseMSRP | ( | ) |
|
virtual |
|
virtual |
Reimplemented from OpalMediaSession.
|
inline |
References m_localUrl.
|
inline |
References m_manager.
|
virtual |
Reimplemented from OpalMediaSession.
|
inline |
References m_remoteUrl.
Referenced by OpalMSRPMediaStream::GetRemoteURL().
|
inlinevirtual |
Implements OpalMediaSession.
References TCP_MSRP().
|
virtual |
Reimplemented from OpalMediaSession.
| bool OpalMSRPMediaSession::OpenMSRP | ( | const PURL & | remoteUrl | ) |
| PBoolean OpalMSRPMediaSession::ReadData | ( | BYTE * | data, |
| PINDEX | length, | ||
| PINDEX & | read | ||
| ) |
| void OpalMSRPMediaSession::SetConnection | ( | PSafePtr< OpalMSRPManager::Connection > & | conn | ) |
|
virtual |
Reimplemented from OpalMediaSession.
|
inline |
References m_remoteUrl.
Referenced by OpalMSRPMediaStream::SetRemoteURL().
|
static |
Referenced by GetSessionType().
|
virtual |
| PSafePtr<OpalMSRPManager::Connection> OpalMSRPMediaSession::m_connectionPtr |
| bool OpalMSRPMediaSession::m_isOriginating |
| std::string OpalMSRPMediaSession::m_localMSRPSessionId |
| PURL OpalMSRPMediaSession::m_localUrl |
Referenced by GetLocalURL().
| OpalMSRPManager& OpalMSRPMediaSession::m_manager |
Referenced by GetManager().
| OpalTransportAddress OpalMSRPMediaSession::m_remoteAddress |
| PURL OpalMSRPMediaSession::m_remoteUrl |
Referenced by GetRemoteURL(), and SetRemoteURL().