Patent ID: 7894486

Claim:
A method for depacketization by a receiving section unit that receives a stream of a context-aware multimedia packet data having a payload startcode therein for use by at least one of a first block process and a second block process, the method comprising the steps of: (1) sequentially determining, by a depacketization unit of the receiving section unit, when a current packet is input: if a previous packet has been completed into a bit stream, if an error has occurred in a bit stream, and if a sequence number of the current packet is correctly follows a sequence number of the previous packet, (2) when an error of the bit stream has occurred, the receiving section determining that the current packet has been completed into a meaningful bit stream by performing the second block process, wherein, the second block process performs the steps of: (i)instructing an upper layer to empty a current buffer and return to step (1) when the current packet does not correspond to an end of one bit stream, or (ii) identifying a value of a start code in the payload of the multimedia packet that is extracted by a context-aware unit of the receiving section unit when the current packet corresponds to an end of one bit stream, and (iii) ending the second block process and performing a process subsequent to the second block process when the value of the start code has been identified to restore a packet following a lost packet, and instructing the upper layer to perform the steps of emptying a current buffer and ending the second block process without performing the process subsequent to the second block process when the value of the startcode has not been identified; wherein the upper layer comprises a layer that uses codec.