Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
lorentz15228248dI don't know if anyone else finds this as revolutionary as I do. Technically we had WebRTC but it was a massive pain to set up.
-
Ranchonyx10632248dSeems nicely straightforward.
But I'll have to wait for decades until firefox implements it.
Or they never will, depending on their position regarding this feature. -
lorentz15228248d@Ranchonyx Yeah, I'm looking at the feature table because "partial support" for an API this broad is completely meaningless.
-
lorentz15228246d@jestdotty WebRTC is specifically for p2p, basically, somewhere between their 5th and 7th videoconferencing app Google decided that the web needs a standard for videochats because web clients up to that point used webosckets (or even HTTP polling on occasion) which will retry lost packets and destroy the latency. As such, WebRTC encrypts all of its traffic and passes it through an authenticated UDP relay (a TURN server), which is a whole other can of worms because datagrams are too small for normal encryption.
-
lorentz15228246d@jestdotty Other than WebRTC, this is the first datagram protocol supported in browsers, and as someone who tried multiple times to set up a TURN relay and never succeeded, in my eyes this is the first web API suitable for authoritative server multiplayer games.
Related Rants
A datagram connection supported by all major browsers
https://developer.mozilla.org/en-US...
rant
in-browser gamedev
quic
datagrams
web transport