-
-
Notifications
You must be signed in to change notification settings - Fork 524
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
Evaluate WebTransport protocols and APIs #272
Comments
According to w3c/webtransport#65 (comment), we could use the I honestly don't think WebRTC is viable for authoritative servers, but we could use |
why WebRTC not viable for authoritative servers? |
It is! It was initially just not meant to be used on the server. But there are now WebRTC libraries for Nodejs, Golang, C++, Rust, Python and surly many more. |
Just sharing something for the brainstorming. we were talking about it with ECSY users. The http://geckos.io/ guy is showing some real improvements with bad connections. 200ms and 10% packet loss TCP vs UDP : This is impressive ! |
To be precise, the latency to the Package Loss Test was 225ms (Georgia US). The latency to the EC2 server was 130ms (Frankfurt DE). If the latency was >200ms, WebSockets would have performed much worse. |
Oh you are this guy, I did not noticed, i am ambarased :D ... Thanks for the precisions btw, your tests shows why UDP is important :) |
@endel any plan about implementing http://geckos.io udp socket for colyseus ???? |
I wanted to find some handy ways to do networking in haxe/heaps game, and this looks quite good, and potentially just excellent with UDP... Looks real promising, especially with that proof of concept video posted by @IfnotFr (originally by @yandeu). Now I wonder what new API it will bring into the library, because of the nature of UDP, it's only beneficial in some particular cases, like when you have little pieces of data that you want to update as frequent as possible, like sending position of a unit, or position of a mouse, etc. Any ideas? |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
Hi @yandeu! I was wondering if you and your team plan to add WebTransport support once webkit implements it. They have accepted it to their standard positions. We would love to use the benefits of UDP through Colyseus for our multiplayer game! Thanks and have a great weekend :) |
Hi @epurban, thanks for your interest here! I've been experimenting with the fails-components/webtransport implementation of WebTransport in the So far, in addition to the The (I'm reopening this issue to continue the discussions...) |
There's a draft on
WebTransport
going on, which is a successor of WebSocket that supports both reliable and unreliable communication. It's not currently usable - hopefully, it will in the future (when?)It would be nice to start thinking about how to make Colyseus use its reliable/unreliable API for sending and/or receiving data.
The text was updated successfully, but these errors were encountered: