The developer calls getVRDisplays() but does not maintain a reference to the VRDisplays returned
The user unplugs one of the VRDisplays
The developer calls getVRDisplays again
Is the unplugged VRDisplay in the sequence and marked isConnected==false? Or is it simply not present?
Case 2:
The developer is holding a reference to a VRDisplay
The user unplugs this VRDisplay
The user plugs back in the same VRDisplay
Is a new VRDisplay object created or is the same object now just marked as isConnected==true. In other words, is VRDisplay.displayId consistent for a specific piece of hardware every time that hardware is attached?
Case 3:
While in the middle of a frame, the user plugs in a new VRDisplay
When does the connected event fire? After the submitFrame() call but before the next RAF callback? Does it matter?
Copied from original issue: immersive-web/webxr#119
From @NellWaliczek on October 15, 2016 2:28
Here are couple cases I'm curious about:
Case 1:
Is the unplugged VRDisplay in the sequence and marked isConnected==false? Or is it simply not present?
Case 2:
Is a new VRDisplay object created or is the same object now just marked as isConnected==true. In other words, is VRDisplay.displayId consistent for a specific piece of hardware every time that hardware is attached?
Case 3:
When does the connected event fire? After the submitFrame() call but before the next RAF callback? Does it matter?
Copied from original issue: immersive-web/webxr#119