MidLevel / Ruffles

Lightweight and fully managed reliable UDP library.
MIT License
212 stars 28 forks source link

Forward Error Correction #22

Open israellot opened 4 years ago

israellot commented 4 years ago

A nice feature would be to introduce FEC on messages that are fragmented, trading bandwidth for reliability. This is specially useful on scenarios where clients are far from a streaming server. Reed-Solomon would be enough, a message could be reconstructed using 2 out of 3 packets, 3 out of 4, etc, avoiding retransmition in most cases, saving a lot of round trips.