#include <mediastrm.h>
Inheritance diagram for OpalFileMediaStream:
Public Member Functions | |
Construction | |
OpalFileMediaStream (const OpalMediaFormat &mediaFormat, unsigned sessionID, BOOL isSource, PFile *file, BOOL autoDelete=TRUE) | |
OpalFileMediaStream (const OpalMediaFormat &mediaFormat, unsigned sessionID, BOOL isSource, const PFilePath &path) | |
Overrides of OpalMediaStream class | |
virtual BOOL | IsSynchronous () const |
Protected Attributes | |
PFile | file |
OpalFileMediaStream::OpalFileMediaStream | ( | const OpalMediaFormat & | mediaFormat, | |
unsigned | sessionID, | |||
BOOL | isSource, | |||
PFile * | file, | |||
BOOL | autoDelete = TRUE | |||
) |
Construct a new media stream for files.
mediaFormat | Media format for stream |
sessionID | Session number for stream |
isSource | Is a source stream |
file | File to stream to/from |
autoDelete | Automatically delete file |
OpalFileMediaStream::OpalFileMediaStream | ( | const OpalMediaFormat & | mediaFormat, | |
unsigned | sessionID, | |||
BOOL | isSource, | |||
const PFilePath & | path | |||
) |
Construct a new media stream for files.
mediaFormat | Media format for stream |
sessionID | Session number for stream |
isSource | Is a source stream |
path | File path to stream to/from |
virtual BOOL OpalFileMediaStream::IsSynchronous | ( | ) | const [virtual] |
Indicate if the media stream is synchronous. Returns TRUE for LID streams.
Implements OpalMediaStream.
PFile OpalFileMediaStream::file [protected] |