NVIDIA CloudXR.js Sample Client

Debug Settings

Load recommended defaults for a target device. You can still override settings below.
Configure WebRTC media server address and port for NAT traversal. Only needed when the streaming server is behind NAT. Leave empty to use server-provided ICE information.
Select the target device frame rate for the XR session
Select the maximum streaming bitrate (in Megabits per second) for the XR session
Select the preferred streaming codec. Availability depends on browser and server support.
Configure the per-eye resolution. Width must be a multiple of 16 (min 128); height must be a multiple of 64 (min 128).
Grid rules: leave either field blank to use factor mode, or set both to integers >= 2 for explicit mesh resolution.
Select the preferred reference space for XR tracking. "Auto" uses the original fallback logic (local-floor → local → viewer). Other options will attempt to use the specified space only.
Configure the XR reference space offset in centimeters. These values will be applied to the reference space transform to adjust the origin position of the XR experience.
Controls the XRWebGLLayer framebuffer attachments for alpha and depth.
Enable or disable secondary smoothing on predicted positions to reduce jitter. This only affects position, not orientation.
Scale the pose prediction horizon (0.0 = no prediction, 1.0 = full prediction). This multiplier affects both position and orientation prediction strength.
Enable texSubImage2D for texture updates. Improves performance on Meta Quest devices but may cause issues on headsets with older Chromium forks.
Enable Display P3 color space for texture unpacking to work around color rendering issues on Meta Quest devices. Only enable this if you're experiencing color issues on Quest.