APPARATUS AND METHOD FOR PROCESSING VOICE OVER INTERNET PROTOCOL PACKETS
First Claim
1. A method for processing Voice over Internet Protocol (VoIP) packets at an electronic apparatus, the method comprising the steps of:
- (a) sending an VoIP packet to a buffer in the electronic apparatus;
(b) determining if the arrived VoIP packet arrives out of order according to a sequence number of the arrived VoIP packet and a sequence number of a preceding VoIP packet;
(c) determining whether the buffer has a packet having a same sequence number as the sequence number of the arrived VoIP packet, if the arrived VoIP packet arrives out of order;
(d) calculating the difference between the sequence number of the arrived VoIP packet and the sequence number of the preceding VoIP packet if the buffer has no such packet having the same sequence number as the arrived VoIP packet;
(e) counting a number of pseudo packets needed to be inserted into the buffer according to the calculated difference and generating the number of pseudo packets; and
(f) inserting the number of pseudo packets and the arrived VoIP packet into the buffer.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for processing Voice over Internet Protocol (VoIP) packets is provided. The method includes: determining if the arrived VoIP packet arrives out of order according to a sequence number of the arrived VoIP packet and a sequence number of a preceding VoIP packet of the arrived VoIP packet; determining whether the buffer has a packet having a same sequence number as the arrived VoIP packet if the arrived VoIP packet arrives out of order; calculating the difference between the sequence number of the arrived VoIP packet and that of the preceding VoIP packet if the buffer has no such packet having the same sequence number as the arrived VoIP packet; and counting a number of pseudo packets needed to be inserted into the buffer according to the calculated difference and generating and inserting the number of pseudo packets into the buffer.
-
Citations
18 Claims
-
1. A method for processing Voice over Internet Protocol (VoIP) packets at an electronic apparatus, the method comprising the steps of:
-
(a) sending an VoIP packet to a buffer in the electronic apparatus; (b) determining if the arrived VoIP packet arrives out of order according to a sequence number of the arrived VoIP packet and a sequence number of a preceding VoIP packet; (c) determining whether the buffer has a packet having a same sequence number as the sequence number of the arrived VoIP packet, if the arrived VoIP packet arrives out of order; (d) calculating the difference between the sequence number of the arrived VoIP packet and the sequence number of the preceding VoIP packet if the buffer has no such packet having the same sequence number as the arrived VoIP packet; (e) counting a number of pseudo packets needed to be inserted into the buffer according to the calculated difference and generating the number of pseudo packets; and (f) inserting the number of pseudo packets and the arrived VoIP packet into the buffer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. An apparatus for processing Voice over Internet Protocol (VoIP) packets at an electronic apparatus, the system comprising a real time transport protocol (RTP) module, a buffer, and an audio controlling module, wherein:
-
the RTP module is configured for receiving a plurality of arrived VoIP packets, and sending the arrived VoIP packets to the buffer one by one; the buffer is configured for reordering the arrived VoIP packets by generating pseudo packets while the arrived VoIP arrives out of order, inserting the reordered VoIP packets and the generated pseudo packets into the buffer, and outputting packets in the buffer to the audio controlling module, the output packets comprising the pseudo packets and the VoIP packets; and the audio controlling module configured for generating comfort noise if the output packets are the pseudo packets, decompressing the output packets into raw data if the output packets are the VoIP packets. - View Dependent Claims (13, 14, 15, 16, 17, 18)
-
Specification