Forum Discussion
BobBobson108
2 years agoExplorer
User Presence Detection
Is there any way to detect user presence in the built-browser on the Quest 3 via WebXR, aka detect when the headset is on someone's head? When removing the headset in our WebXR app, the display of the Quest 3 does indeed turn off as expected, but the WebXR Session does not fire its visibilitychange event until the Quest sleeps (about 10 seconds later). Could the event fire when the headset is removed?
Or if not, could the browser fire an inputchange event when the headset is removed, and list the proximity sensor as an input?
My company use WebXR for streaming 360 video and other assets, and we want to be able to pause the experience the moment the headset is removed. Our goal is to get to feature parity with our desktop VR app so we can transition our customers onto Quest 3, and for that we need to be able to detect user presence.
4 Replies
Replies have been turned off for this discussion
- BobBobson108Explorer
Hey folks, any movement or input on this? Is this topic better for the Quest Development board since it surrounds the browser?
- MetaStoreHelpCommunity Manager
Thanks for raising this. We will be updating the browser to fire the visibilitychange event when the device is doffed.
- BobBobson108Explorer
Thank you! This will really help a lot. I'll be sure to mark this as an accepted solution once the browser is updated 👍
- embodied.labs.2024Explorer
Following up again (this is my actual username for the company). What's the status of this? Also, is there a way to figure out when the user switches out of the webxr app and back to the window, via the system's pinch gesture? Furthermore, is there a way to ignore this gesture so the user stays in the webxr app?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 6 months ago
- 6 months ago
- 7 months ago
- 3 years ago
- 3 years ago