#include <lidep.h>
Inheritance diagram for OpalLineMediaStream:
Public Member Functions | |
Construction | |
OpalLineMediaStream (const OpalMediaFormat &mediaFormat, unsigned sessionID, BOOL isSource, OpalLine &line) | |
Overrides of OpalMediaStream class | |
virtual BOOL | Open () |
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 | |
OpalLine & | line |
BOOL | useDeblocking |
unsigned | missedCount |
BYTE | lastSID [4] |
BOOL | lastFrameWasSignal |
|
Construct a new media stream for Line Interface Devices.
|
|
Close the media stream. The default does nothing. Reimplemented from OpalMediaStream. |
|
Indicate if the media stream is synchronous. Returns TRUE for LID streams. Implements OpalMediaStream. |
|
Open the media stream. The default behaviour sets the OpalLineInterfaceDevice format and calls Resume() on the associated OpalMediaPatch thread. Reimplemented from OpalMediaStream. |
|
Read raw media data from the source media stream. The default behaviour reads from the OpalLine object.
Reimplemented from OpalMediaStream. |
|
Write raw media data to the sink media stream. The default behaviour writes to the OpalLine object.
Reimplemented from OpalMediaStream. |
|
|
|
|
|
|
|
|
|
|