Genvid_SubmitVideoData()¶
-
GenvidStatus
Genvid_SubmitVideoData
(const GenvidTimecode timecode, const char *streamID, const void *videoData, const int videoDataSize)¶ Sends a video frame explicitly using
videoDataSize
bytes ofvideoData
.The format of the video data must have been previously specified (see Genvid_SetParameterInt()).
Note that when automatic video source capture is used (which is typical),
videoData
must be set to NULL andvideoDataSize
must be set to 0 (see Genvid_SetParameterPointer() for details on automatic capture).Using a negative
timecode
value is shorthand for calling Genvid_GetCurrentTimecode() and using that timecode value instead.