Ronin
Ronin copied to clipboard
Using with Orca?
Seems like osc is dead as of 707f056649f0bb8d64d1ffeac2f55cdf27bef2f9, since the project migrated away from Electron.
How can we make Ronin interop with Orca again?
OSC is a good idea in my opinion. Maybe we could setup some kind of UDP<->WebSockets bridge?
Any ideas?
That might be a good idea, but I don't know how to handle UDP over the browser without localhost.
Communication between the Orca and Ronin pages, could potentially be achieved using the postmessage api, the caveat being that it requires either Orca or Ronin to open the tab/window for the other to obtain a refference to each other's Window objects. Or since localStorage is shared between pages of the same origin, it should be possible to create a a WebRTC DataChannel between the two pages, by sharing the Strings for the connection offer and answer on each side through the localStorage.
Window.postMessage should work even when using offline html files, but localStorage + WebRTC is potentially seemless when accessing both pages from hundredrabbits.github.io