Page 1 of 1

Multicast on android

Posted: Fri Aug 10, 2018 12:05 pm
by kimtae55

I am trying to use multicast to get pose from OptiTrack to an Android device. So far I have set up multicast socket's receiving on android side, but does not receive anything. I think the reason is that the Android client has to send a command requesting for Rigid Body Ino (i.e. PacketOut.iMessage = NAT_REQUEST_FRAMEOFDATA in PacketClient.cpp) and then try to receive the datagram.
Since multicast setup is different in c and java, I want to know if there's anyone who managed to figure this out. More specifically, is iMessage stored in the first byte of the packet?

Thanks for any help!