vuer
vuer copied to clipboard
Black screen after some time in VR
Hi,
I'm having a very weird issue: the app works perfectly in the browser (both on laptop and on Meta Quest 2 browser) but once i start VR mode, the streaming starts and it's good for ~30 seconds and then I get a black screen (which doesn't recover). Any idea on what can be?
Here's the trace appearing in the terminal
[teleop_local-16] Task exception was never retrieved
[teleop_local-16] future: <Task finished name='Task-45' coro=<Vuer.downlink.<locals>.handler() done, defined at /home/antonio/.local/lib/python3.10/site-packages/vuer/server.py:596> exception=AssertionError('Websocket session is missing.')>
[teleop_local-16] Traceback (most recent call last):
[teleop_local-16] File "/home/antonio/.local/lib/python3.10/site-packages/vuer/server.py", line 602, in handler
[teleop_local-16] raise e
[teleop_local-16] File "/home/antonio/.local/lib/python3.10/site-packages/vuer/server.py", line 598, in handler
[teleop_local-16] await self.socket_handler(vuer_proxy)
[teleop_local-16] File "/home/antonio/loki/brain/install/realsense_vr/lib/python3.10/site-packages/realsense_vr/teleop_local.py", line 84, in main_image
[teleop_local-16] session.upsert(
[teleop_local-16] File "/home/antonio/.local/lib/python3.10/site-packages/vuer/server.py", line 49, in __call__
[teleop_local-16] return self.fn(*args, **kwargs)
[teleop_local-16] File "/home/antonio/.local/lib/python3.10/site-packages/vuer/server.py", line 203, in _upsert
[teleop_local-16] self @ Upsert(*element, to=to, strict=strict)
[teleop_local-16] File "/home/antonio/.local/lib/python3.10/site-packages/vuer/server.py", line 95, in __matmul__
[teleop_local-16] assert self.CURRENT_WS_ID in self.vuer.ws, "Websocket session is missing."
[teleop_local-16] AssertionError: Websocket session is missing.