Thanks. I set up a node js WebSocket forwarding. It's working now.
Yes, you need to implement a WebSocket relay server. In my video the two clients negotiate which one will send accelerometer data and the other receives it. I have implemented partial support for a WebSocket relay server. It is enough to reproduce the video, but it is alpha code and may not be fully correct and functional.
Beautiful work! Got a question. If I want to reproduce what you did, feeding data from iphone to browser, do I need to run a relay server? Do you have an example code you can share? thanks!
Thanks. I set up a node js WebSocket forwarding. It's working now.
Yes, you need to implement a WebSocket relay server. In my video the two clients negotiate which one will send accelerometer data and the other receives it. I have implemented partial support for a WebSocket relay server. It is enough to reproduce the video, but it is alpha code and may not be fully correct and functional.
Beautiful work! Got a question. If I want to reproduce what you did, feeding data from iphone to browser, do I need to run a relay server? Do you have an example code you can share? thanks!