#include <iax2medstrm.h>
Inheritance diagram for OpalIAX2MediaStream:
Public Member Functions | |
Construction | |
OpalIAX2MediaStream (const OpalMediaFormat &mediaFormat, unsigned sessionID, BOOL isSource, unsigned minJitterDelay, unsigned maxJitterDelay, IAX2Connection &con) | |
Overrides of OpalMediaStream class | |
virtual BOOL | Open () |
virtual BOOL | Start () |
virtual BOOL | Close () |
virtual BOOL | ReadData (BYTE *data, PINDEX size, PINDEX &length) |
virtual BOOL | WriteData (const BYTE *data, PINDEX length, PINDEX &written) |
virtual BOOL | IsSynchronous () const |
Protected Attributes | |
IAX2Connection & | connection |
PBYTEArray | pendingData |
unsigned | minAudioJitterDelay |
unsigned | maxAudioJitterDelay |
|
Construct a new media stream for connecting to the media
|
|
Close the media stream. The default does nothing. Reimplemented from OpalMediaStream. |
|
Indicate if the media stream is synchronous. A synchronous stream is one that is regular, such as the sound frames from a sound card. Implements OpalMediaStream. |
|
Open the media stream. Reimplemented from OpalMediaStream. |
|
Read raw media data from the source media stream. The default behaviour reads from the OpalLine object.
Reimplemented from OpalMediaStream. |
|
Start the media stream. The default behaviour calls Resume() on the associated OpalMediaPatch thread if it was suspended. Reimplemented from OpalMediaStream. |
|
Write raw media data to the sink media stream. The default behaviour writes to the OpalLine object.
Reimplemented from OpalMediaStream. |
|
The connection is the source/sink of our data packets |
|
The endpoint has specified the max delay from a jitter buffer |
|
The endpoint has specified the min delay from a jitter buffer |
|
There was unused data from an incoming ethernet frame. The unused data is stored here. |