In this paper, we propose a novel algorithm for constructing an Unequal Error Protection (UEP) FEC code
targeted towards video streaming applications. A concatenation of a set of parallel outer block codes followed
by a packet interleaver and an inner block code is presented. The algorithm calculates on the fly the optimal
allocation of the code rates of the inner and outer codes. When applied to video streaming applications using
H.264, the discussed UEP framework achieves gains of up to 5dB in video quality compared to equal error
protection (EEP) FEC at the same code rate.