Hacker News new | ask | show | jobs
by k__ 2260 days ago
Ah, so you had a WebRTC datachannel between the clients and the server?
1 comments

Basically yes, a custom datachannel implementation. Haven't updated it lately, but it's up at https://github.com/seemk/WebUDP
Pretty cool.

You don't happen to have some ping comparisons betwen WebRTC and WebSockets?

Sadly no, but I don't think there's much of a ping difference on a good network. With WebRTC (datachannels in UDP mode) you just get the benefits of UDP (or lack thereof :)).
I see.

I had the impression UDP would lower the average ping, because you wouldn't have to wait on lost packages like with TCP.