I'm using JavaOSC to build a java application to send OSC messages to Resolume.
At the Resolume preferences, I can see the messages are coming correctly, but the clip didn't start playing, can anyone help me?
Code: Select all
String myIP = "192.168.1.108";
int myPort = 7000;
OSCPortOut oscPortOut;
Thread oscThread = new Thread();
try {
oscPortOut = new OSCPortOut(InetAddress.getByName(myIP), myPort);
}catch (UnknownHostException e){
return;
}catch (Exception e) {
return;
}
if(oscPortOut != null){
Object[] thingsToSend = new Object[3];
thingsToSend[0] = 1;
OSCMessage message = new OSCMessage(myIP, thingsToSend);
message.setAddress("/composition/layers/1/clips/1/connect/composition/selectedclip/connect");
try{
oscPortOut.send(message);
}catch(Exception e){
}