Query
Hello, I've customized a template for creating networked aframe dynamic rooms using a form:
Whenever I insert the following lines of code into the <a-scene>
tag, the entire project malfunctions:
networked-scene="
room: audio;
adapter: easyrtc;
audio: true;
video: true;
debug: true;
inspector=https://cdn.jsdelivr.net/gh/aframevr/aframe-inspector@master/dist/aframe-inspector.min.js"
I'm looking for a way to incorporate these lines of code into the <a-scene>
tag like this:
<a-scene dynamic-room networked-scene="
room: audio;
adapter: easyrtc;
audio: true;
video: true;
debug: true;
inspector=https://cdn.jsdelivr.net/gh/aframevr/aframe-inspector@master/dist/aframe-inspector.min.js"
>
However, I want to ensure that the dynamic rooms still function properly. In other words, if two individuals are in different rooms, they should not be able to see each other. But if they are in the same room, visibility should be enabled. How can this be achieved?
Resources
A-frame official website:
Networked A-frame documentation: https://www.npmjs.com/package/networked-aframe
Link to my current project code: