Operates a source to receive frames
Methods
SourceFrameGet
Get a video frame from the source object (MLive, MFile, MPlaylist, MMixer)
Syntax
void SourceFrameGet( long _rtMaxWait, out MFrame _ppFrame, int _nFlags )
Parameters
_rtMaxWait - maximal wait time to receive a frame. Use "-1" to wait for a frame
_ppFrame - frame from the source
_nFlags - additional flags. Use "0" by default
SourceFrameGetEx
Get video frame from source object (MLive, MFile, MPlaylist, MMixer) Note: after stop taken frames, use eFGT_Remove especially for eFGT_Sync mode"
Syntax
void SourceFrameGetEx( out long _pllReaderID, long _rtMaxWait, out MFrame _ppFrame, eFrameGetFlags _eGetType )
Parameters
_pllReaderID - reader ID to get a frame from
_rtMaxWait - maximal wait time to receive a frame
_ppFrame - frame from the source
_eGetType - get type flag