-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that NetEq recovers after a large timestamp jump
Before this change it could happen that a large jump in timestamp (a jump not correlated to wall-clock change) caused the audio to go silent without recovering. The reason was that all incoming packets after the jump were considered too old compared to the last decoded packet, and were deleted. With CL changes two things: 1. If the only available packet in the buffer is an old packet, NetEq will do Expand instead of immediate reset. This is to avoid that one late packet triggers a reset. 2. Old packets are discarded only when the decision to decode a packet has been taken. This is to allow the buffer to grow and eventually flush if no decodable packet has been found for some time. This CL also includes a new unit test for this situation. BUG=3785 R=minyue@webrtc.org Review URL: https://webrtc-codereview.appspot.com/22709004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7255 4adac7df-926f-26a2-2b94-8c16560cd09d
- Loading branch information
henrik.lundin@webrtc.org
committed
Sep 22, 2014
1 parent
8877287
commit 6121715
Showing
3 changed files
with
277 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters