{"action":"created","issue":{"url":"https://api.github.com/repos/leapmotion/leapjs-network/issues/2","labels_url":"https://api.github.com/repos/leapmotion/leapjs-network/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/leapmotion/leapjs-network/issues/2/comments","events_url":"https://api.github.com/repos/leapmotion/leapjs-network/issues/2/events","html_url":"https://github.com/leapmotion/leapjs-network/issues/2","id":65433123,"number":2,"title":"Can't view HandRigging plugin mesh on Android mobile","user":{"login":"mairead","id":604477,"avatar_url":"https://avatars.githubusercontent.com/u/604477?v=3","gravatar_id":"","url":"https://api.github.com/users/mairead","html_url":"https://github.com/mairead","followers_url":"https://api.github.com/users/mairead/followers","following_url":"https://api.github.com/users/mairead/following{/other_user}","gists_url":"https://api.github.com/users/mairead/gists{/gist_id}","starred_url":"https://api.github.com/users/mairead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mairead/subscriptions","organizations_url":"https://api.github.com/users/mairead/orgs","repos_url":"https://api.github.com/users/mairead/repos","events_url":"https://api.github.com/users/mairead/events{/privacy}","received_events_url":"https://api.github.com/users/mairead/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-31T11:47:35Z","updated_at":"2015-08-09T09:35:03Z","closed_at":null,"body":"I'm trying to connect a second device using the Leapjs-network plugin. I've got the data being piped over WebRTC and I can see the Hand mesh moving if I view in two separate connected desktop browsers but I can't see the Hand mesh appearing on a mobile browser. \r\n\r\nI was wondering if you'd successfully managed to connect a mobile device and see the Hand mesh moving. It would be good to clarify if you think this should be possible and if you could tell me what device and browsers you managed to connect successfully. Its hard to tell if I have a hardware or software limitation. \r\n\r\nI have a Three.Js texture error in Chrome for Android, which may be a separate issue. The texture error varies depending on which version of Three.js I'm using (Either S3TC or OES) but Firefox for Android looks like its working OK and throws no rendering errors. \r\n\r\nI'm using ADB remote debugging for Firefox on Android and I get the following error messages \r\n\r\nError: WebGL: Exceeded 2 live WebGL contexts for this principal, losing the least recently used one. (From Three.js)  \r\n\r\nTypeError: this is undefined \r\n\r\n```javascript\r\n    this.remoteFrameLoop = function() {\r\n        \r\n        var frame, frameData;\r\n        if (this.controller.streaming()) {// <--here\r\n          return;\r\n        }\r\n```\r\n\r\n(From the LeapJs-network plugin) inside the remoteFrameLoop, but I think thats probably just caused by the first frame where my hand is not present so no data is available\r\n\r\nand a couple of deprecation warnings from Peer.Js about adding the IceCandidate which I think probably aren't important\r\n\r\nWould really appreciate any advice you might have. I think I've hit a dead end here"},"comment":{"url":"https://api.github.com/repos/leapmotion/leapjs-network/issues/comments/129145064","html_url":"https://github.com/leapmotion/leapjs-network/issues/2#issuecomment-129145064","issue_url":"https://api.github.com/repos/leapmotion/leapjs-network/issues/2","id":129145064,"user":{"login":"mairead","id":604477,"avatar_url":"https://avatars.githubusercontent.com/u/604477?v=3","gravatar_id":"","url":"https://api.github.com/users/mairead","html_url":"https://github.com/mairead","followers_url":"https://api.github.com/users/mairead/followers","following_url":"https://api.github.com/users/mairead/following{/other_user}","gists_url":"https://api.github.com/users/mairead/gists{/gist_id}","starred_url":"https://api.github.com/users/mairead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mairead/subscriptions","organizations_url":"https://api.github.com/users/mairead/orgs","repos_url":"https://api.github.com/users/mairead/repos","events_url":"https://api.github.com/users/mairead/events{/privacy}","received_events_url":"https://api.github.com/users/mairead/received_events","type":"User","site_admin":false},"created_at":"2015-08-09T09:35:03Z","updated_at":"2015-08-09T09:35:03Z","body":"Hi Julia,\n\nI can't work out where to reply to you on github so I hope you get this\nmessage.\n\nThe node servers aren't running on the mobile device. I have a server\nrunning on my local desktop machine and then I'm pointing a web browser to\nthe node server running the client side hand plugin.\n\nFor some reason the leap data recorded from the USB and piped into the leap\nwebsocket isn't available to the mobile device browser. I don't know why\nthis is. their documentation suggests you should be able to point it to any\nIP but my application would only work if the data was coming into the\nlocalhost and then I'm using a bit of a hack with the web RTC to pipe the\ndata to another server.\n\nIdeally this step shouldn't be required but I spent a lot of time trying to\nforce my mobile device to connect to the Leap socket before eventually\ngoing down the RTC route. This might be my mistake though I'm not\nsuggesting this is the only/best solution.\n\nOn Sat, Aug 8, 2015 at 11:00 PM, Julia Jacobs <notifications@github.com>\nwrote:\n\n> Just curious @mairead <https://github.com/mairead> : did you need to\n> actually run a node server on your android device to do this? I'm trying to\n> do get leapmotion to work with my iphone in google cardboard and was hoping\n> i didn't actually have to run a node emulator to do this but be able to\n> just point either the mobile ios v8 safari or chrome browsers to regular\n> separate web server. Thanks!\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/leapmotion/leapjs-network/issues/2#issuecomment-129054871>\n> .\n>\n"}}