the browser (Chrome Canary 98 on Android 11) complains that:
TypeError: Failed to execute 'requestSession' on 'XRSystem': Failed to read the 'depthSensing' property from 'XRSessionInit': Failed to read the 'dataFormatPreference' property from 'XRDepthStateInit': Failed to read the 'dataFormatPreference' property from 'XRDepthStateInit': Required member is undefined.
There seems to have been a change in naming conventions.
The fix is to replace the line:
Hello, When I try to request an XR session with depth support using the code provided in explainer.md, namely:
the browser (Chrome Canary 98 on Android 11) complains that:
There seems to have been a change in naming conventions. The fix is to replace the line:
with the following:
I haven't studied the behavior for other browsers / browser versions. Could you update the explainer.md file accordingly? Thank you!
And thank you for your great work and documentation! There is no document that explains the Depth API as clearly as explainer.md does (and by far).