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

NameDescription
frameVideo frame properties.
imageThe video frame buffer containing image data.
opaqueUser supplied context passed to ParsecClientPollFrame.
Parsec SDK on GitHubDiscuss on Discord