Multicast on android

NatNet, VRPN, TrackD, and Plugins
Post Reply
kimtae55
Posts: 6
Joined: Fri May 25, 2018 1:16 pm

Multicast on android

Post by kimtae55 » Fri Aug 10, 2018 12:05 pm

Hello,

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!

Post Reply