public void sendFrame230(int size, int interfaceId, yaxisRotation, int xaxisRotation){ outStream.createFrame(230); outStream.writeWordA(size); // the bigger the number the small the object will appear, go to small of a number and you crash the client so try to stay at above 100 outStream.writeWord(interfaceId); // interface id that contains the media outStream.writeWord(yaxisRotation); outStream.writeWordBigEndianA(xaxisRotation); flushOutStream(); }