The encoder should have a parameter to configure the number of redundant packets.
The encoder should use sleep instead of busy waiting :wink:
The decoder should wait for all packets (original + redundant) and use a timeout. The timeout could be set to the 2 * RTT, so just for the worst case (Assume only one packet is one wire, so the worst case). Then if the decoding failed because of the timeout, it should record this round as failed.
Hi Johannes! Thanks for the help.
sleep
instead of busy waiting :wink: