Genvid_SubmitGameData()¶
-
GenvidStatus
Genvid_SubmitGameData
(const GenvidTimecode timecode, const char *streamID, const void *gameData, const int gameDataSize)¶ Sends
gameDataSize
bytes ofgameData
associated with the streamstreamID
.Using -1 instead of a
timecode
value calls Genvid_GetCurrentTimecode() and uses that value fortimecode
.Using nullptr instead of a valid address for the
gameData
value and zero forgameDataSize
is supported and will send nothing.It returns one of the following values:
GenvidStatus_UninitializedSDK: The Genvid library was not initialized before calling it.
GenvidStatus_InvalidState: The asynchronous handler was not initialized.
GenvidStatus_InvalidParameter: The stream
streamID
was not found.GenvidStatus_Success: The operation completed properly.