OPAL Version 3.10.4

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- Data Structures
- Class Hierarchy
- Data Fields

Public Member Functions | Data Fields
OpalMSRPMediaSession Class Reference

`#include <msrp.h>`

Inheritance diagram for OpalMSRPMediaSession:

## Public Member Functions

| OpalMSRPMediaSession (OpalConnection &connection, unsigned sessionId)
| OpalMSRPMediaSession (const OpalMSRPMediaSession &_obj)
| ~OpalMSRPMediaSession ()
bool | Open (const PURL &remoteParty)
virtual void | Close ()
virtual PObject * | Clone () const
virtual bool | IsActive () const
virtual bool | IsRTP () const
virtual bool | HasFailed () const
virtual OpalTransportAddress | GetLocalMediaAddress () const
PURL | GetLocalURL () const
PURL | GetRemoteURL () const
void | SetRemoteURL (const PURL &url)
virtual void | SetRemoteMediaAddress (const OpalTransportAddress &, const OpalMediaFormatList &)
virtual bool | WritePacket (RTP_DataFrame &frame)
PBoolean | ReadData (BYTE *data, PINDEX length, PINDEX &read)
virtual SDPMediaDescription * | CreateSDPMediaDescription (const OpalTransportAddress &localAddress)
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
| OpalMediaSession (OpalConnection &conn, const OpalMediaType &_mediaType, unsigned sessionId)
| OpalMediaSession (const OpalMediaSession &_obj)

## 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
Data Fields inherited from OpalMediaSession
OpalConnection & | connection
OpalMediaType | mediaType
unsigned | sessionId

## Detailed Description

Class for carrying MSRP session information

## Constructor & Destructor Documentation

OpalMSRPMediaSession::OpalMSRPMediaSession | ( | OpalConnection & | connection,
|  | unsigned | sessionId
| ) |  |

Referenced by Clone().

OpalMSRPMediaSession::OpalMSRPMediaSession | ( | const OpalMSRPMediaSession & | _obj | ) |

OpalMSRPMediaSession::~OpalMSRPMediaSession | ( |  | ) |

## Member Function Documentation

virtual PObject* OpalMSRPMediaSession::Clone | ( |  | ) | const

inline virtual

Implements OpalMediaSession.

References OpalMSRPMediaSession().

virtual void OpalMSRPMediaSession::Close | ( |  | ) |

virtual

Implements OpalMediaSession.

void OpalMSRPMediaSession::CloseMSRP | ( |  | ) |

virtual OpalMediaStream* OpalMSRPMediaSession::CreateMediaStream | ( | const OpalMediaFormat & | mediaFormat,
|  | unsigned | sessionID,
|  | PBoolean | isSource
| ) |  |

virtual

Implements OpalMediaSession.

virtual SDPMediaDescription* OpalMSRPMediaSession::CreateSDPMediaDescription | ( | const OpalTransportAddress & | localAddress | ) |

virtual

Implements OpalMediaSession.

virtual OpalTransportAddress OpalMSRPMediaSession::GetLocalMediaAddress | ( |  | ) | const

virtual

Implements OpalMediaSession.

PURL OpalMSRPMediaSession::GetLocalURL | ( |  | ) | const

inline

References m_localUrl.

OpalMSRPManager& OpalMSRPMediaSession::GetManager | ( |  | ) |

inline

References m_manager.

PURL OpalMSRPMediaSession::GetRemoteURL | ( |  | ) | const

inline

References m_remoteUrl.

Referenced by OpalMSRPMediaStream::GetRemoteURL().

virtual bool OpalMSRPMediaSession::HasFailed | ( |  | ) | const

inline virtual

Implements OpalMediaSession.

virtual bool OpalMSRPMediaSession::IsActive | ( |  | ) | const

inline virtual

Implements OpalMediaSession.

virtual bool OpalMSRPMediaSession::IsRTP | ( |  | ) | const

inline virtual

Implements OpalMediaSession.

bool OpalMSRPMediaSession::Open | ( | const PURL & | remoteParty | ) |

bool OpalMSRPMediaSession::OpenMSRP | ( | const PURL & | remoteUrl | ) |

PBoolean OpalMSRPMediaSession::ReadData | ( | BYTE * | data,
|  | PINDEX | length,
|  | PINDEX & | read
| ) |  |

void OpalMSRPMediaSession::SetConnection | ( | PSafePtr< OpalMSRPManager::Connection > & | conn | ) |

virtual void OpalMSRPMediaSession::SetRemoteMediaAddress | ( | const OpalTransportAddress & | ,
|  | const OpalMediaFormatList & |
| ) |  |

virtual

Reimplemented from OpalMediaSession.

void OpalMSRPMediaSession::SetRemoteURL | ( | const PURL & | url | ) |

inline

References m_remoteUrl.

Referenced by OpalMSRPMediaStream::SetRemoteURL().

virtual bool OpalMSRPMediaSession::WritePacket | ( | RTP_DataFrame & | frame | ) |

virtual

## Field Documentation

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().

The documentation for this class was generated from the following file:

- msrp.h