#include <mxcpcStreamSource.h>
Inheritance diagram for mxcpcStreamSource:
Public Member Functions | |
virtual | ~mxcpcStreamSource () |
/// // Mx clientSDK | |
virtual int | fetchBytes (unsigned char *buffer, int num)=0 |
Fetches at most num raw stream bytes from the stream source, writes them to the specified buffer, and returns the number of bytes actually fetched. | |
virtual bool | stillUp (void)=0 |
Returns whether or not the stream source is still operational. |
Definition at line 29 of file mxcpcStreamSource.h.
|
Fetches at most
A return value of
However, in case of error, it is also
In case of a return value of Implemented in mxcpcCameraLiveMxPEGFastStreamPOSIX, mxcpcStreamFile, and mxcpcAsynchronousCameraLiveMxPEGFastStream. Referenced by mxcpcFramewiseMxPEGDecoder::decode(). |
|
Returns whether or not the stream source is still operational.
If a stream source has become "not-up" once, it will never come up again. Instead, its fetchBytes() method will return Implemented in mxcpcStreamFile, and mxcpcAsynchronousCameraLiveMxPEGFastStream. Referenced by mxcpcStreamDecoder::sourceStillUp(). |