Does Kodo library order the RLNC packets?

Skip to first unread message

Ahmad Alhilal

Aug 20, 2020, 12:22:02 PM8/20/20
to steinwurf-dev
I'm using UDP protocol to transfer generated RLNC packets. I have 2 questions:
1. Does Kodo library order the packets itself at the decoder?
2. If I set max-redundancy to 200, and fabricate packet loss rate up to 10%, can I still recover all the packet correctly and get the original frame/data sound?

Lars Nielsen

Aug 20, 2020, 4:32:54 PM8/20/20
to steinwurf-dev
I can answer 1) The order of how the decoder receives the code packets does not matter, it will handle it for you as part of the decoding process.
You can confirm this by generating X code packets using kodo and place them in the decoder in a radom order.


Morten V. Pedersen

Aug 21, 2020, 2:46:30 AM8/21/20

On question 2) which library are you using?

- M

You received this message because you are subscribed to the Google Groups "steinwurf-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Ahmad Alhilal

Aug 21, 2020, 5:20:53 AM8/21/20
to steinwurf-dev
I'm using kodo-python (i.e.,   kodo.RLNCEncoder &  kodo.RLNCDncoder) and python 3.6.

Although the decoder reports the completion of the generation (a video frame), I still get some pixel distortion, where the settings are:
max-redundancy : 200,
packet loss rate: 10% ,
 client and server on different machines.   

Ahmad Alhilal

Aug 21, 2020, 11:13:56 AM8/21/20
to steinwurf-dev

More specifically, artifacts in the displayed video frames appear when I apply bursts packet loss (2%, 5%, 10%).
 Although the decoder reports the completion of the generation (a video frame), I still have these artifacts in many frames.    
I need either logical clarification of any possible limits of the library (recovery capability for each percentage of packet loss rate), any threshold, any related work, or any related experience in this particular problem. 

I'm targetting a top conference for the research I'm doing, so your efforts will be acknowledged and your library will be cited.   

Morten V. Pedersen

Aug 24, 2020, 4:07:31 AM8/24/20

Hi Ahmad,
Perhaps you are not getting the amount of repair packets though that you need.

For e.g. the 2% packet loss how much repair are you generating?

All the best,

Reply all
Reply to author
0 new messages