I have been developing a project utilizing A-frame () along with the networked A-frame component (https://www.npmjs.com/package/networked-aframe)
(project located at: )
I have encountered an issue with the video feed in my project. Currently, the video feed functions properly; however, when I switch this line of code in scene.html on line 202:
<a-scene moving-sun vr-mode-ui="enabled: false;" physics 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">
With this code:
<a-scene moving-sun vr-mode-ui="enabled: false;" physics dynamic-room="
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">
Upon testing my code by opening two tabs, instead of the video feed, there is only a blank white plane displayed. It's puzzling because simply exchanging networked-scene=""
with dynamic-room=""
causes the video feed to stop functioning, showing a white screen on other tabs instead.
This unexpected behavior has left me perplexed as changing from networked-scene
to dynamic-room
should not result in such issues. Despite attempting various code modifications, the root cause of this problem eludes me. My suspicion is that the error lies within
public/js/dynamic-room.component.js
, although I could be mistaken.
If you possess any insights on how to resolve this dilemma, your assistance would be greatly appreciated.
Here is the link to my project: