Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quarter of a second out of sync #23

Open
GeertRoks opened this issue Oct 11, 2018 · 1 comment
Open

Quarter of a second out of sync #23

GeertRoks opened this issue Oct 11, 2018 · 1 comment

Comments

@GeertRoks
Copy link

Hi,

I'm trying to play algoritmic music in sync on a network of computers, but with the examples of express and socket provided. The system is constantly quarter of a second out of time when I have this code:

socket = io.connect("http://192.168.0.100:3000"); // This connects the sockets to my server

But when I leave it on localhost, then it is in time with the express example, but I have no socket connections then. With the socket example its still about a quarter of a second out of time.

socket = io.connect("http://localhost:3000");

Am I doing something wrong?
I use a combination of Express and Socket for this project.

I hope that anyone can help me with this.
If I need to provide some more info then let me know (this is my first issue).

Geert

@josdejong
Copy link
Contributor

Your issue sounds similar to #18.

Could this be something related to socket.io? Does the same happen with plain HTTP?

I'm afraid I will not have time to dive into this any time soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants