We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c238f3f commit a354cf7Copy full SHA for a354cf7
app.html
@@ -4285,8 +4285,11 @@
4285
_rtcDisconnect();
4286
root.innerHTML = '';
4287
4288
- _rtcConnect('land', loginToken.name, 'land', state => {
4289
- console.log('got land', state);
+ _rtcConnect('land', loginToken.name, 'land', async state => {
+ await p;
4290
+ const xrSite = state.childNodes.find(childNode => childNode.nodeName === 'xr-site');
4291
+ const xrIframes = xrSite.childNodes.filter(childNode => childNode.nodeName === 'xr-iframe');
4292
+ console.log('got land xr iframes', state, xrIframes);
4293
});
4294
4295
const p = _connectLand();
0 commit comments