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


Data Structures | |
| struct | Init |
| Initialisation information for constructing a session. More... | |
Public Types | |
| typedef PList< PChannel > | Transport |
Public Member Functions | |
| virtual const PCaselessString & | GetSessionType () const =0 |
| virtual bool | Open (const PString &localInterface, const OpalTransportAddress &remoteAddress, bool isMediaAddress) |
| virtual bool | IsOpen () const |
| 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) |
| 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) |
Protected Member Functions | |
| OpalMediaSession (const Init &init) | |
Protected Attributes | |
| 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 media session information
| typedef PList<PChannel> OpalMediaSession::Transport |
|
protected |
|
virtual |
|
virtual |
Reimplemented in OpalRTPSession.
|
virtual |
Reimplemented in OpalMSRPMediaSession, and OpalRTPSession.
|
pure virtual |
Implemented in OpalDummySession, and OpalRTPSession.
|
virtual |
Reimplemented in OpalRTPSession.
|
inline |
References m_connection.
|
virtual |
Reimplemented in OpalDummySession, OpalMSRPMediaSession, and OpalRTPSession.
|
inline |
References m_localPassword.
|
inline |
References m_localUsername.
|
inline |
References m_mediaType.
|
virtual |
|
virtual |
Reimplemented in OpalDummySession, OpalMSRPMediaSession, and OpalRTPSession.
|
inline |
References m_sessionId.
|
pure virtual |
Implemented in OpalDummySession, OpalMSRPMediaSession, and OpalRTPSession.
|
virtual |
Reimplemented in OpalRTPSession.
|
virtual |
|
virtual |
Reimplemented in OpalDummySession, and OpalRTPSession.
| void OpalMediaSession::OfferCryptoSuite | ( | const PString & | cryptoSuite | ) |
|
virtual |
Reimplemented in OpalDummySession, OpalMSRPMediaSession, and OpalRTPSession.
|
virtual |
Reimplemented in OpalDummySession, OpalMSRPMediaSession, and OpalRTPSession.
|
virtual |
|
protected |
Referenced by GetConnection().
|
protected |
Referenced by GetLocalPassword().
|
protected |
Referenced by GetLocalUsername().
|
protected |
Referenced by GetMediaType().
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by GetSessionID().