摘要 |
<p>A method of receiving data, such as Realtime Transport Protocol (RTP) packets, comprising: receiving data packets at a buffer, each data packet being identifiable by a sequence number that identifies an order for packets in a media stream; receiving (forward) error correction (FEC) packets 501, each packet being associated with one or more sequence numbers 502 and being for use in correcting data packets identifiable by those sequence numbers; determining a subset of error correction packets which are associated with sequence numbers that are missing from the sequence numbers of the data packets at the buffer and identifying the determined subset in a data structure (i.e. FEC packet matrix/table); processing the data structure so as to remove 507, 509, from the data structure (i.e. mask out from the FEC packet matrix), identifiers of one or more error correction packets associated with sequence numbers of data packets that are unsuitable for correction; and identifying, from the processed data structure, an error correction packet or a combination of error correction packets for generating a missing data packet. Data packets that are unsuitable for correction may be those that have already been played out or those that are too late to play out and are no longer of use.</p> |