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
Hi, first of all thanks for this super useful package!
I'm making a web interface for supercollider, and I need WSServer and Express on the same port. I use Express to serve the interface (and adb to forward ports between my local machine and an android smartphone).
It would be nice to have the bridge plugin accept a server option, to be passed directly to WebSocketServer. This wouldn't disrupt other use-cases and it would make mine much cleaner :)
I could submit a Pull Request, for now I'm directly hacking into the osc-js.js :)
The text was updated successfully, but these errors were encountered:
Thank you! Excuse my late reply, but in case you are still interested, could you share a snipped of how you currently pass on that server option to the WebSocketServer? Would love to see an API example.
Hi @adzialocha! Thanks for your reply.
Took me a while to dig it out from where it was, but this is what I was doing:
(in osc.js, open() method of BridgePlugin)
Hi, first of all thanks for this super useful package!
I'm making a web interface for supercollider, and I need WSServer and Express on the same port. I use Express to serve the interface (and adb to forward ports between my local machine and an android smartphone).
It would be nice to have the bridge plugin accept a server option, to be passed directly to WebSocketServer. This wouldn't disrupt other use-cases and it would make mine much cleaner :)
I could submit a Pull Request, for now I'm directly hacking into the osc-js.js :)
The text was updated successfully, but these errors were encountered: