#include <mediastrm.h>
Inheritance diagram for OpalRawMediaStream:
Public Member Functions | |
Overrides of OpalMediaStream class | |
virtual BOOL | ReadData (BYTE *data, PINDEX size, PINDEX &length) |
virtual BOOL | WriteData (const BYTE *data, PINDEX length, PINDEX &written) |
PChannel * | GetChannel () |
virtual BOOL | Close () |
Protected Member Functions | |
Construction | |
OpalRawMediaStream (const OpalMediaFormat &mediaFormat, unsigned sessionID, BOOL isSource, PChannel *channel, BOOL autoDelete) | |
~OpalRawMediaStream () | |
Protected Attributes | |
PChannel * | channel |
BOOL | autoDelete |
|
Construct a new media stream for channel.
|
|
Delete attached channel if autoDelete enabled. |
|
Close the media stream. Closes the associated PChannel. Reimplemented from OpalMediaStream. |
|
Return the associated PChannel |
|
Read raw media data from the source media stream. The default behaviour reads from the PChannel object.
Reimplemented from OpalMediaStream. |
|
Write raw media data to the sink media stream. The default behaviour writes to the PChannel object.
Reimplemented from OpalMediaStream. |
|
|
|
|