Genvid_SubmitGameData()

GenvidStatus Genvid_SubmitGameData(const GenvidTimecode timecode, const char *streamID, const void *gameData, const int gameDataSize)

Sends gameDataSize bytes of gameData associated with the stream streamID.

Using -1 instead of a timecode value calls Genvid_GetCurrentTimecode() and uses that value for timecode.

Using nullptr instead of a valid address for the gameData value and zero for gameDataSize 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.