Method for ordering to eliminate its jitter time delay by time stamp of RTP data pocket
暂无分享,去创建一个
The present invention relates to a timestamp of RTP packet sorting method to eliminate jitter delay, wherein the buffer storage queue using the received RTP data packet, the first data is first reached a normal packet enqueued into the buffer start address queue, and its time stamp as a reference timestamp; for each packet received thereafter, determines which timestamp stored in the address buffer queue according to the time, and stores the corresponding address. Dequeuing data in the cache after a predetermined time, as a reference time stamp to transmission timestamp, the normal output of a corresponding first data packet to reach the next interface; then adding the transmission time stamp and the timestamp interval as when transmitting the new timestamp, then check whether there is a time stamp packet storage address corresponding to a new transmission, there will be a data packet which is output to the next interface. The present invention also packet delay jitter, the buffer delay queue depth is dynamically adjusted. It can greatly improve transmission quality of the final RTP voice packets.