OpalRTPSessionManager Class Reference
#include <rtpconn.h>
List of all members.
Detailed Description
This class manages the RTP sessions for an OpalRTPConnection
Constructor & Destructor Documentation
OpalRTPSessionManager::OpalRTPSessionManager |
( |
OpalConnection & |
conn |
) |
|
Construct new session manager database.
OpalRTPSessionManager::~OpalRTPSessionManager |
( |
|
) |
|
Member Function Documentation
- Parameters:
-
| session | Session to add. |
| mediaType | initial media type for this session |
Add an RTP session for the specified ID.
This function MUST be called only after the UseSession() function has returned NULL. The mutex flag is left locked in that case. This function expects the mutex to be locked and unlocks it automatically.
- Parameters:
-
| session | Session to add. |
| mediaType | initial media type for this session |
virtual bool OpalRTPSessionManager::AllSessionsFailing |
( |
|
) |
[virtual] |
OpalMediaSession* OpalRTPSessionManager::GetMediaSession |
( |
unsigned |
sessionID |
) |
const |
PMutex& OpalRTPSessionManager::GetMutex |
( |
|
) |
[inline] |
RTP_Session* OpalRTPSessionManager::GetSession |
( |
unsigned |
sessionID |
) |
const |
Get a session for the specified ID.
- Parameters:
-
| sessionID | Session ID to get. |
OpalRTPSessionManager::PDICTIONARY |
( |
SessionDict |
, |
|
|
POrdinalKey |
, |
|
|
OpalMediaSession |
| |
|
) |
| | [protected] |
void OpalRTPSessionManager::ReleaseSession |
( |
unsigned |
sessionID, |
|
|
PBoolean |
clearAll = PFalse | |
|
) |
| | |
Release the session.
- Parameters:
-
| sessionID | Session ID to release. |
| clearAll | Clear all sessions with that ID |
Member Data Documentation
The documentation for this class was generated from the following file: