摘要 |
Method, apparatus and computer program product for generating correction data units relating to a plurality of data packets of a data stream, each correction data unit being based on a set of the data packets of the data stream, wherein the data stream is for transmission from a transmitter to a receiver over a lossy communication channel. For the generation of each of the correction data units, based on the data stream, a performance measure to be optimized is selected. The performance measure relates to the recovery of lost data packets of the data stream. A coding requirement for the generation of each of the correction data units is determined. For the generation of each of the correction data units, it is determined, within the constraints of the determined coding requirement and based on at least one previously generated correction data unit, which of the data packets of the data stream to include in the set on which the generation of the correction data unit is to be based to thereby optimize the selected performance measure. Each of the correction data units is generated based on the respective set of the data packets of the data stream. The generated correction data units are included in the data stream. |