Callback version of IMEvents interface for C++ and Delphi languages
Methods
OnEvent
Handles the events. It called on each event. This method is SYNC so the video stream is blocked while this method is called.
Syntax
void OnEvent( long llCallbackUserData, string bsName, string bsEventName, string bsEventParam, object pEventObject )
Parameters
llCallbackUserData - pointer to the event data
bsName - a name of an object
bsEventName - name of the event
bsEventParam - parameters of event
pEventObject - the object that performs the event
OnFrame
This method is called on each input or output frame. This method is SYNC so the video stream is blocked while this method is called.
Syntax
void OnFrame( long llCallbackUserData, string bsName, object pMFrame )
Parameters
llCallbackUserData - a pointer to the event data
bsName - a name of an object
pMFrame - a frame object