Go to file
henrik.lundin@webrtc.org 612171527e 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
2014-09-22 08:30:07 +00:00
chromium Change Chromium .gclient to not use Managed mode. 2014-09-04 14:58:55 +00:00
data modules/audio_processing: Updates output_data_fixed.pb test file 2014-08-12 07:35:52 +00:00
resources NetEq background noise generation off by default 2014-08-13 09:45:40 +00:00
talk Reapply 23529005 after fixing the build break issue (Chromium:582133002) 2014-09-19 21:06:12 +00:00
third_party Roll gtest-parallel. 2014-09-10 09:29:12 +00:00
tools Adds asan suppresions for rtc_unittests 2014-09-18 13:32:43 +00:00
webrtc Ensure that NetEq recovers after a large timestamp jump 2014-09-22 08:30:07 +00:00
.clang-format Style-option file for clang-format. 2013-11-25 15:30:37 +00:00
.gitignore Android APK tests built from a normal WebRTC checkout. 2014-09-01 11:06:37 +00:00
all.gyp Allow root build dependencies to be overridden. 2014-08-08 00:08:58 +00:00
android-webrtc.mk Changed a flag in ARM build for platform build. 2012-09-08 00:32:59 +00:00
AUTHORS Update AUTHORS file. 2014-09-11 21:12:59 +00:00
BUILD.gn Initial GN work for WebRTC 2014-06-17 08:54:03 +00:00
codereview.settings Add a root codereview.settings file. 2013-04-24 02:08:50 +00:00
COPYING Libjingle in webrtc needs updated AUTHORS, COPYING, LICENSE_THIRD_PARTY AND README. 2013-07-16 18:04:56 +00:00
DEPS Narrower include for constructormagic.h in Chromium. 2014-09-17 07:44:33 +00:00
drover.properties Add a drover.properties file for reference. 2013-05-30 18:15:54 +00:00
libvpx.mk Change android makefile to reflect recent file structure change 2011-07-13 17:49:49 +00:00
LICENSE Updated license path in LICENSE and LICENSE_THIRD_PARTY. 2012-11-22 12:06:21 +00:00
license_template.txt Update template to follow chromium copyright style 2013-04-24 01:01:28 +00:00
LICENSE_THIRD_PARTY Libjingle in webrtc needs updated AUTHORS, COPYING, LICENSE_THIRD_PARTY AND README. 2013-07-16 18:04:56 +00:00
OWNERS Update root OWNERS file 2014-08-25 14:41:41 +00:00
PATENTS Add references to src/ copies for LICENSE etc. 2011-10-26 01:05:07 +00:00
PRESUBMIT.py Remove linux_memcheck from default trybots. 2014-09-17 06:46:38 +00:00
setup_links.py Cleanup .gclient_entries to avoid sync problems. 2014-09-18 13:47:23 +00:00
sync_chromium.py Cleanup .gclient_entries to avoid sync problems. 2014-09-18 13:47:23 +00:00
WATCHLISTS Add myself to common_audio and audio_processing watchlists 2014-09-11 10:11:43 +00:00