Giter Site home page Giter Site logo

Comments (2)

vincentfretin avatar vincentfretin commented on May 25, 2024

I know there are issues if you test using two Chrome tabs, like the received messages are not processed until you are on the tab, so you may have time dependent issues, but that's probably not your issue here. Using two windows work fine.

I guess you're using wseasyrtc adapter, right? So data are sent with WebSocket.
I explained how the sync works in #409 (comment) if you didn't read it yet.
First thing would be to look at the WebSocket messages sent from the Chrome Network tab (select the websocket and go to Messages tab). The current owner of the entities will send the data to the new joined user. Does the data have the correct position there? If yes, then does the receiving end see the same message?

I want to mention also a different issue we had with janus adapter (with unreliableTransport set to datachannel, so through WebRTC, the default, because we can also send data through websocket, that's configurable), sometime the avatar of the joined user didn't show up for the other users. My guess was the data may be sent too early before the DTLS handshake of the RTCPeerConnection, but I never confirmed that. We added a workaround to send an avatar firstSync every 5s with a periodic-full-syncs component, see #243 (comment) I still have the component in two of my projects, not sure if it's still needed. I don't think we had this issue with easyrtc adapter.

from networked-aframe.

diarmidmackenzie avatar diarmidmackenzie commented on May 25, 2024

I was using wseasyrtc when I first hit the problem, and implemented & tested my workaround.

I have since moved to easyrtc, to enable audio between participants, and haven't noticed any differences (but didn't try backing out my workaround).

I am now seing some odd issues with ownership changes not being replicated between clients when testing with side-by-side Chrom instances on desktop (2 windows, both visible). I doubt that is related to this, but I haven't understood it yet.

from networked-aframe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.