IFrameNotificationSinkListener.FrameReceived Method

This event gets fired when the FrameNotificationSink receives a new frame.
Syntax:
[C#]
public virtual void FrameReceived( IFrame frame ) = 0;
Parameter Description
frame

The new IFrame the sink just received.

The frame parameter cannot be used outside this callstack, it will only live until this function returns.

Remarks:

The method gets executed in an arbitrary thread context and should not call functions that may depend on their calling context. (E.g. ICImagingControl.LiveStop )

This event will most likely be raised in the frame context of the video capture device, this means that taking too long in this method leads the camera driver to drop images.

Functions changing the state of the sink should also not be called. E.g. BaseSink.SinkModeRunning, ICImagingControl.LivePause ...

Information:

Introduced in version 3.5

See also : IFrameNotificationSinkListener, FrameNotificationSink, IFrame

<< IFrameNotificationSinkListener