I want to launch the VR app when the CloudXR server is connected. Using the sample scene provided by NVIDIA, I can connect to the Steam lobby or Angel model. Now, I need to open the specific PCVR app when the connection to the server is established.
1 Like
A suggestion is to poll or find a callback from the VR Runtime API to trigger a system executable once it reports back a headst is connected. As an example, within the OpenVR API is the function IVRSystem::IsTrackedDeviceConnected. Create a script that queries this function and have this run as a daemon on your server.
Another option is to poll HmdError and launch app when the HmdError_Init_HmdNotFound is cleared.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.