Continuing the discussion from Websocket connection:
Continuing the discussion from Read Leap data from guest VM on host machine using WebSockets:
Continuing the discussion from Raw data by WebSocket:
I am still not clear how client can send the messages to Websocket server?
According to here, client sends messages to server in JSON data format, including:
{"background": true, "focused": true, "enableGestures": true, "optimizeHMD": true}
And the Websocket server will send messages back to clients with JSON tracking data format.
How about the others messages? Like the other String ("Hi client, you are moving the object!") or the other complicated data?
By the way, from leap.js wiki, it mentioned:
Almost all of the communication between the leapd and the client is one-way.
What does it mean by that? One-way, not duplex-way communication?
I really appreciate if you would help me this.
Thanks a lot,
Quan.