摘要 |
Disclosed are a method and device for compensating for packet loss of voice data, used for compensating for a lost voice data packet. The method in an embodiment of the present invention comprises: when a lost frame is detected, extracting a pitch period from received voice data; calculating a backward phase of a received last frame of normal voice data, and calculating a forward phase of the lost frame according to the backward phase; and capturing a last frame of data with a phase the same as the forward phase from the received data as compensation data. |