How to calculate the fec mask?

51 views
Skip to first unread message

Zhiquan Chen

unread,
May 22, 2021, 11:49:49 AM5/22/21
to discuss-webrtc
It is not a problem, I just want to know how to calculate the mask table of fec in webrtc.
I have calculate the mask table based on the most expectation of recovery, and found that the calculate results in mask random 1_1,2_1,2_2,3_1,3_2,3_3,4_1 were the same as which in webrtc. But from 4_2 and the later ones, they were different. For example, in 4_2, it is
#define kMaskRandom4_2 \
0xc0, 0x00, \
0xb0, 0x00
, but in my calculation, it is
0xe0, 0x00,
0xb0, 0x00

and which, my calculation can recovery one more case than the one in webrtc.

So, how to calculate of such masks...
fec.jpgDelete
Reply all
Reply to author
Forward
0 new messages