OPAL
Version 3.14.3
|
#include <mediasession.h>
Public Member Functions | |
OpalDummySession (const Init &init, const OpalTransportAddressArray &transports=OpalTransportAddressArray()) | |
virtual const PCaselessString & | GetSessionType () const |
virtual bool | Open (const PString &localInterface, const OpalTransportAddress &remoteAddress, bool isMediaAddress) |
virtual bool | IsOpen () const |
virtual OpalTransportAddress | GetLocalAddress (bool isMediaAddress=true) const |
virtual OpalTransportAddress | GetRemoteAddress (bool isMediaAddress=true) const |
virtual bool | SetRemoteAddress (const OpalTransportAddress &remoteAddress, bool isMediaAddress=true) |
virtual OpalMediaStream * | CreateMediaStream (const OpalMediaFormat &mediaFormat, unsigned sessionID, bool isSource) |
![]() | |
virtual bool | Close () |
virtual void | AttachTransport (Transport &transport) |
virtual Transport | DetachTransport () |
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 & | SessionType () |
Additional Inherited Members | |
![]() | |
typedef PList< PChannel > | Transport |
![]() | |
OpalMediaSession (const Init &init) | |
![]() | |
OpalConnection & | m_connection |
unsigned | m_sessionId |
OpalMediaType | m_mediaType |
PString | m_localUsername |
PString | m_localPassword |
PString | m_remoteUsername |
PString | m_remotePassword |
OpalMediaCryptoKeyList | m_offeredCryptokeys |
Dummy session. This is a place holder for the local and remote address in use for a session, but there is no actual implementation that does anything. It is used for cases such as unknown media types in SDP or external "bypassed" media sessions where data is sent driectly between two remote endpoints and not throught the local machine at all.
OpalDummySession::OpalDummySession | ( | const Init & | init, |
const OpalTransportAddressArray & | transports = OpalTransportAddressArray() |
||
) |
|
virtual |
Implements OpalMediaSession.
|
virtual |
Reimplemented from OpalMediaSession.
|
virtual |
Reimplemented from OpalMediaSession.
|
virtual |
Implements OpalMediaSession.
|
virtual |
Reimplemented from OpalMediaSession.
|
virtual |
Reimplemented from OpalMediaSession.
|
static |
|
virtual |
Reimplemented from OpalMediaSession.