#include <mediastrm.h>
Inheritance diagram for OpalRTPMediaStream:
Public Member Functions | |
Construction | |
OpalRTPMediaStream (const OpalMediaFormat &mediaFormat, BOOL isSource, RTP_Session &rtpSession, unsigned minAudioJitterDelay, unsigned maxAudioJitterDelay) | |
Overrides of OpalMediaStream class | |
virtual BOOL | Open () |
virtual BOOL | Close () |
virtual BOOL | ReadPacket (RTP_DataFrame &packet) |
virtual BOOL | WritePacket (RTP_DataFrame &packet) |
virtual BOOL | IsSynchronous () const |
virtual void | EnableJitterBuffer () const |
Protected Attributes | |
RTP_Session & | rtpSession |
unsigned | minAudioJitterDelay |
unsigned | maxAudioJitterDelay |
|
Construct a new media stream for RTP sessions.
|
|
Close the media stream. The default does nothing. Reimplemented from OpalMediaStream. |
|
Enable jitter buffer for the media stream. The default behaviour does nothing. Reimplemented from OpalMediaStream. |
|
Indicate if the media stream is synchronous. Returns FALSE for RTP streams. Implements OpalMediaStream. |
|
Open the media stream using the media format. The default behaviour simply sets the isOpen variable to TRUE. Reimplemented from OpalMediaStream. |
|
Read an RTP frame of data from the source media stream. The new behaviour simply calls RTP_Session::ReadData(). Reimplemented from OpalMediaStream. |
|
Write an RTP frame of data to the sink media stream. The new behaviour simply calls RTP_Session::WriteData(). Reimplemented from OpalMediaStream. |
|
|
|
|
|
|