You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<button id="send">Send Message</button>
<script type="text/javascript" src="/node_modules/osc-js/lib/osc.min.js"></script>
<script type="text/javascript">
var osc = new OSC();
osc.open({ host: "192.168.1.247", port: 8001 }); // connect by default to ws://localhost:8080
document.getElementById('send').addEventListener('click', () => {
var message = new OSC.Message('/go', Math.random());
osc.send(message);
});
</script>
I am using mostly the exact code from the examples for WebSockets. I always get an error saying that the socket was still in a connecting state and was unable to send the data. I am trying to send a QLab /go command for show control. Other issues that I've seen with this error aren't helpful since they are using the package on Node while I am using it for web.
The text was updated successfully, but these errors were encountered:
I am using mostly the exact code from the examples for WebSockets. I always get an error saying that the socket was still in a connecting state and was unable to send the data. I am trying to send a QLab
/go
command for show control. Other issues that I've seen with this error aren't helpful since they are using the package on Node while I am using it for web.The text was updated successfully, but these errors were encountered: