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

Demo simplified and slightly expanded #6

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

karaokeresearch
Copy link

Thank you for writing this. Very useful piece of software. I have some proposed changes for the client:

Switched out the complicated Express code in app.js for express.static
middleware. Switched to port 80 to ease mobile testing.

In the index.html, I use the version-independent syntax and ditch the
standalone socket.io.js file in favor of having it served out by
socket.io

Switched out the complicated Express code in app.js for express.static
middleware. Switched to port 80 to ease mobile testing.

In the index.html, I use the version-independent syntax and ditch the
standalone socket.io.js file in favor of having it served out by
socket.io
Socket.io now complains if you don't disable logging via the DEBUG
environmental variable.  Also, there's no reason to specify Express
3.0.2.  Streamlined syntax should work in pretty much any new version of
Express.
…e >3 or 4 ms lag even on networks with <5ms lag, probably due to a less-than-robust wireless card, such as my Samsung Galaxy s2. This code takes the best 4 pings out of 20 and uses the data from those since lower pings = less margin for error. Still has tons of debug code in there, for now.
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

Successfully merging this pull request may close these issues.

1 participant