ParsecStatusParsecHostHookStart(Parsec *ps,ParsecHookModemode,ParsecHookStatusCallbackstatusCallback,ParsecHookVideoCallbackvideoCallback,ParsecHookAudioCallbackaudioCallback,void *opaque)
Hook video, audio, or both in the current process. Windows only.
The default behavior submits the hooked audio to Parsec and sends the data to connected clients. the
audioCallback may be left NULL to if this default behavior is desired. Otherwise, you can set custom callback to handle the hooked data.
|Parsec instance returned by |
|Called when a there is an error in the frame callback |
|Called when a video frame is acquired. May be NULL. See |
|Called when audio data is acquired. May be NULL. See |
|User supplied context to be passed through |
PARSEC_OK if the current process was successfully hooked, otherwise a
ParsecStatus error value.