


This is pretty essential for any networked application where latency is critical, like voice and video and fast-paced multiplayer games.Īs other commenters have noted, it's a royal pain in the ass to set up WebRTC if all you want is UDP-style communication between a server and browser, since you need to wrangle half a dozen other protocols in the process. WebRTC has data channels, which are currently the only way to achieve unreliable and unordered real-time communication (UDP-style) between the browser and other browsers or a server. Tl dr using WebRTC just for realtime clientserver data sucks, but WebTransport is coming soon to serve that exact usecase with an easy API
