Lixie-Labs / Emotiscope

Let your eyes enjoy the music too ✨ Extremely low-latency audio processing lets LEDs perfectly synchronize to your music's notation and tempo.
GNU General Public License v3.0
27 stars 5 forks source link

Multiplayer access not working #106

Open connornishijima opened 1 month ago

connornishijima commented 1 month ago

Currently only one Emotiscope app screen can be open at a time, which is no fun, and not intended.

It could be down to how the welcoming handshake works, it's some of the oldest code in the whole place.

connornishijima commented 1 month ago

I've begun work on fixing this. Currently, it can handle two player access fluently, but is still struggling with 3-player. I re-wrote a lot of how websockets packets are passed around and how new clients are welcomed.

When things don't work, there are no errors for me to read. The PsychicHTTP library just doesn't always connect when a third player joins, hanging forever, which isn't helpful for solving this