udevbe / greenfield

HTML5 Wayland compositor :seedling:
GNU Affero General Public License v3.0
901 stars 27 forks source link

Back to websockets #122

Closed Zubnix closed 1 year ago

Zubnix commented 1 year ago

WebRTC data-channels have unacceptable slow congestion control which makes them unusable for real-time data delivery. This PR removes data-channels and switches back to web-sockets with a retry+ping/pong mechanism as well as a an ARQ protocol on top to make sure it can survive and recover network switches and disconnects.