our project is a real-time (whiteboard) web application uses the leap motion device . we will have Nodejs server , web application and leap motion device .
So , as we understood that there are two connection the first one is the connection between our web application to leap motion and the second is a websocket/socket.io connections between the web application and node.js server << am i right ?? .
regard to the connection between our web application to leap motion : as we read about leap system architecture that there are two ways to connect to the leap motion device: native and websockets . the native interface is used to create regular Leap-enabled applications. while webSocket interface is used to create Leap-enabled web applications. so in case of our project we will use websocket interface << am i right ??
regard to the websocket connection : we saw some example of simple gesture code and we found that just contains HTML and javaScript code. The code doesn't have anything about websocket connection it just Include javaScript library. So, my question is : does websocket connection between our web application to leap motion happens implicitly (without programmer intervention)? if yes. Does it differentiate if we use localhost or remote server ?
thanks in advance :)
Aucun commentaire:
Enregistrer un commentaire