alvr-org / ALVR

Stream VR games from your PC to your headset via Wi-Fi
MIT License
5.3k stars 475 forks source link

Allow client to not sleep/disconnect while in forced passthrough #1761

Open Meister1593 opened 1 year ago

Meister1593 commented 1 year ago

Currently, when you leave boundaries, or enable passthrough, it will disconnect (and sleep) alvr. This is slightly inconvenient when you just want to reach out for something for a second, and/or sometimes you may still want to talk with someone while you're out of boundaries, in passthrough mode. It would be nice to have toggle for this:

  1. False - Disconnect client on boundaries leave or forced passthrough (default behavior in current alvr)
  2. True - Don't disconnect or sleep client and allow for tracking/mic/everything as usual when you leave boundaries or enable passthrough.

This would be similar to how currently ALXR works. I also noticed that on ALXR it sort of throttles tracking while in that mode (lower hz), but it may be runtime-specific (not that important if it still works)

Meister1593 commented 1 year ago

Im also unsure if enabling passthrough manually and through boundaries leave is pretty much the same thing for app, but i think this toggle could work for both of them.

devinSpitz commented 10 months ago

Even more important now with the Quest 3 and the color pass trough :D

devinSpitz commented 8 months ago

So in VD you are not able to talk with someone when you are outside of the boundaries. It's just that the PC still thinks everything is connected so games, steamvr etc are still running while with ALVR as the connection gets closed you have to restart everything every time you go out of the boundaries.

That means if your drink is outside of the boundaries and you make a training you have to finish the training before you are able to drink something otherwise you close the game and ruin your progress xD Having the drink inside the boundaries risks the drink itself.

What I mean is only close the connection if someone is closing the ALVR application on the headset or chooses to disconnect not when going into passthrough or leaving the boundaries :D

It would say that this should be less work than @Meister1593 version (as you dont have to stream the mic etc while the app is in the background) but either solution would make me happy :D