Is there a limit and if yes how big can the struct send by RakNet::RakPeerInterface::Send be?
I'm trying to make a Raspberry Pi camera client that would stream video from Raspberry client to PC server, however client always crashes on:
m_Client->Send((char*)m_cData, sizeof(CameraData1280x720), HIGH_PRIORITY, RELIABLE_ORDERED, 0, m_ServerGuid, false);
I tried to reduce the size of data that had to be sent by passing sizeof(CameraData1280x720) /100 and it worked.
So again, is there a limit on how big the struct send by RakNet::RakPeerInterface::Send can be or am i doing something else wrong?