Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Know when to restart the connection #11

Open
jfa2257 opened this issue Apr 17, 2024 · 0 comments
Open

Know when to restart the connection #11

jfa2257 opened this issue Apr 17, 2024 · 0 comments

Comments

@jfa2257
Copy link

jfa2257 commented Apr 17, 2024

Hi,

First off, let me say thank you for your incredible and noble hard work, getting this API working. I use a pair of Xreal Air 2 pro and they work great with it. I'm using it within a unity app and it's really cool.

The issue that I have found is that, after like 10 mins or more, I have to unplug-replug the glasses and restart the software to make it work again. I'm guessing that is because I'm not calling stopconnection, but then again, how do I know when to call it? I was thinking if I knew the user is not wearing them anymore for the moment, I would disconnect, and force the software to reconnect after, but in order to do that, I need to know when I should.

So my idea about it was either learn about a way using the current API to do it, or let you guys know what is happening in order for you to implement an update with some sort of detection of when the glasses are off, or when the user is not wearing them. I believe the first choice would be smoother, since the Xreal guys are already turning off-on the glasses.

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant