ParsecFrameCallback
typedef void(* ParsecFrameCallback) (const ParsecFrame *frame, const void *image, void *opaque )
Fired synchronously if a new host video frame is available.
Passed to ParsecClientPollFrame
. IMPORTANT: Parsec SDK functions may not be called within this callback, doing so will result in a deadlock on the calling thread.
Parameters
Name | Description |
---|---|
frame | Video frame properties. |
image | The video frame buffer containing image data. |
opaque | User supplied context passed to ParsecClientPollFrame . |