Skip to content

v0.5.0-beta

Choose a tag to compare

@romanrublev romanrublev released this 16 Sep 21:56
· 13 commits to main since this release

Beta release. Real-time UDP loss recovery.

UDP forward error correction

The UDP passthrough (real-time datagrams: games, calls, and the kind of
loss probe speed tests run) previously rode the striped relay pipe with no
FEC and no retransmit, so it saw the full VK relay loss (measured 9-23% in
the field) while the TCP/KCP path stayed clean.

This release wraps the UDP path in the same adaptive block FEC used for the
KCP side, on both client and server, with a short (6ms) flush so a sparse
real-time flow adds only a few ms. The receiver delivers datagrams on
arrival and reconstructs lost ones from parity, so order and latency are
unchanged and only losses are recovered. An in-memory lossy-pipe test
recovers 400/400 datagrams at 5% path loss.

Wire change on the UDP path: the client and the exit server must both run
this version. TCP traffic is unaffected during a mixed-version window.

Install (macOS Apple Silicon)

brew update && brew upgrade romanrublev/turnrelay/turnrelay