Patent ID: 7995575

Claim:
A method of handling packet errors, comprising: receiving a packet at a receiver; determining, at the receiver, whether a transport error indicator (TEI) in the packet is set, and if the TEI is set, determining whether a bad continuity count (BAD_CC) flag is set, the BAD_CC flag being indicative of one or more missing packets in a continuous stream of which the packet is a part; when the BAD_CC flag is set, incrementing, at the receiver, a number of subsequent source stream packets to be dropped (DRP_CNT); setting, at the receiver, a number of stuff codes (STF_CNT) to be inserted in the continuous stream of packets to maintain an expected number of packets per reference frame of the continuous stream of packets, wherein the STF_CNT designate packets in the continuous stream of packets for replacement with null packets; and incrementing, at the receiver, an expected continuity count (EXP_CC); and dropping, at the receiver, the packet when DRP_CNT is greater than STF_CNT.