OpalRTPMediaSession Class Reference

`#include <rtpconn.h>`

Inheritance diagram for OpalRTPMediaSession:

## Public Member Functions

| OpalRTPMediaSession (OpalConnection &conn, const OpalMediaType &mediaType, unsigned sessionId)
| OpalRTPMediaSession (const OpalRTPMediaSession &obj)
| ~OpalRTPMediaSession ()
PObject * | Clone () const
void | Attach (RTP_Session *rtpSession)
virtual void | Close ()
virtual bool | IsActive () const
virtual bool | IsRTP () const
virtual bool | HasFailed () const
virtual OpalTransportAddress | GetLocalMediaAddress () const
virtual SDPMediaDescription * | CreateSDPMediaDescription (const OpalTransportAddress &localAddress)
virtual OpalMediaStream * | CreateMediaStream (const OpalMediaFormat &mediaFormat, unsigned sessionID, PBoolean isSource)
RTP_Session * | GetSession () const
Public Member Functions inherited from OpalMediaSession
| OpalMediaSession (OpalConnection &conn, const OpalMediaType &_mediaType, unsigned sessionId)
| OpalMediaSession (const OpalMediaSession &_obj)
virtual void | SetRemoteMediaAddress (const OpalTransportAddress &, const OpalMediaFormatList &)

## Protected Attributes

RTP_Session * | rtpSession

## Additional Inherited Members

Data Fields inherited from OpalMediaSession
OpalConnection & | connection
OpalMediaType | mediaType
unsigned | sessionId

## Detailed Description

Class for carrying RTP session information

## Constructor & Destructor Documentation

OpalRTPMediaSession::OpalRTPMediaSession | ( | OpalConnection & | conn,
|  | const OpalMediaType & | mediaType,
|  | unsigned | sessionId
| ) |  |

Referenced by Clone().

OpalRTPMediaSession::OpalRTPMediaSession | ( | const OpalRTPMediaSession & | obj | ) |

OpalRTPMediaSession::~OpalRTPMediaSession | ( |  | ) |

## Member Function Documentation

void OpalRTPMediaSession::Attach | ( | RTP_Session * | rtpSession | ) |

PObject* OpalRTPMediaSession::Clone | ( |  | ) | const

inline virtual

Implements OpalMediaSession.

References OpalRTPMediaSession().

virtual void OpalRTPMediaSession::Close | ( |  | ) |

virtual

Implements OpalMediaSession.

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

virtual

Implements OpalMediaSession.

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

virtual

Implements OpalMediaSession.

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

virtual

Implements OpalMediaSession.

RTP_Session* OpalRTPMediaSession::GetSession | ( |  | ) | const

inline

References rtpSession.

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

inline virtual

Implements OpalMediaSession.

References RTP_Session::GetPacketsReceived(), RTP_Session::HasFailed(), and rtpSession.

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

inline virtual

Implements OpalMediaSession.

References rtpSession.

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

inline virtual

Implements OpalMediaSession.

## Field Documentation

RTP_Session* OpalRTPMediaSession::rtpSession

protected

Referenced by GetSession(), HasFailed(), and IsActive().

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

- rtpconn.h