As someone working on real time streaming, I find this both interesting and impressive, but I also cannot shake the feeling that WebRTC will be too slow for most games.
At least in my experience, WebRTC even when using UDP was a lot slower than custom protocols, mostly because it responds badly to packet loss. If I use plain UDP in c++, I can layer on forward error correction like Solomon Reed and just ignore lost packets up to a percentage. That, alongside with low level control of the transmission timings seems to be the difference between 60ms peak latency with WebRTC and 5-8ms in C++. Or noticeable input lag @60fps vs. exactly one frame.
Yes, those protocols make a huge difference. Also, high throughput low loss UDP relies on ms-level timing control, which is all but impossible in Javascript.
This is pretty cool. I’m always looking for new .io games to play with friends online, and it’s nice to see more ‘old games’ being put online. Kind of reminds me of Pokémon Showdown.
Who are the developer of this? This looks like a great service to people who want to try out the old game that they have been playing when they were young. For example, I always have a urge to play the old civ3. But it was always a hassle to start a Windows machine and open steam and launch the game.
Comments (171) 33 threads
Earlier commentsAt least in my experience, WebRTC even when using UDP was a lot slower than custom protocols, mostly because it responds badly to packet loss.
If I use plain UDP in c++, I can layer on forward error correction like Solomon Reed and just ignore lost packets up to a percentage. That, alongside with low level control of the transmission timings seems to be the difference between 60ms peak latency with WebRTC and 5-8ms in C++. Or noticeable input lag @60fps vs. exactly one frame.
All comments shown.
Couldn't load more comments. Check your connection and try again.