OPAL
Version 3.12.9
|
#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 () |
bool | IsExternalTransport () const |
virtual void | SetExternalTransport (const OpalTransportAddressArray &transports) |
virtual SDPMediaDescription * | CreateSDPMediaDescription () |
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) |
unsigned | GetSessionID () const |
const OpalMediaType & | GetMediaType () const |
Protected Member Functions | |
OpalMediaSession (const Init &init) | |
Protected Attributes | |
OpalConnection & | m_connection |
unsigned | m_sessionId |
OpalMediaType | m_mediaType |
bool | m_isExternalTransport |
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 SDPDummySession, and OpalRTPSession.
|
virtual |
Reimplemented in SDPDummySession, and OpalMSRPMediaSession.
|
virtual |
Reimplemented in OpalRTPSession.
|
virtual |
Reimplemented in OpalMSRPMediaSession, and OpalRTPSession.
|
inline |
References m_mediaType.
|
virtual |
|
virtual |
Reimplemented in OpalMSRPMediaSession, and OpalRTPSession.
|
inline |
References m_sessionId.
|
pure virtual |
Implemented in SDPDummySession, OpalMSRPMediaSession, and OpalRTPSession.
|
virtual |
Reimplemented in OpalRTPSession.
|
inline |
References m_isExternalTransport.
|
virtual |
Reimplemented in OpalRTPSession.
void OpalMediaSession::OfferCryptoSuite | ( | const PString & | cryptoSuite | ) |
|
virtual |
Reimplemented in OpalMSRPMediaSession, and OpalRTPSession.
|
virtual |
Reimplemented in OpalRTPSession.
|
virtual |
Reimplemented in OpalMSRPMediaSession, and OpalRTPSession.
|
protected |
|
protected |
Referenced by IsExternalTransport().
|
protected |
Referenced by GetMediaType().
|
protected |
|
protected |
Referenced by GetSessionID().