Go to file
Bjorn Volcker 4e7aa43ea0 audio_processing: Adds two UMA histograms logging delay jumps in AEC
We have two histograms today that trigger on large jumps in either platform reported stream delays (WebRTC.Audio.PlatformReportedStreamDelayJump) or the system delay in the AEC (WebRTC.Audio.AecSystemDelayJump). The latter is the internal buffer size in the AEC.
The sizes of such jumps are of relevance since it can harm the AEC and even put it in a complete failure state. It is hard, not to say impossible, to tell how frequent it is.
Therefore, two complementary histograms are added; number of jumps in each metric.
This way we get a quick way to determine how often a jump occurs in general and also how frequent it is within a call.

This is solved by adding a counter for each metric.
The counter is activated either upon an event trigger or if we know for sure when the AEC is running.
Unfortunately, we can't rely on the destructor at the end of a call so we add a public API for the user to take on the action of calling it at the end of a call.

Tested locally by building ToT chromium including changes and three triggered jumps (200, 50 and 60 ms).
The stats picked up the 60 and 200 ms jumps as expected.

BUG=488124
R=asapersson@webrtc.org, pbos@webrtc.org

Review URL: https://codereview.webrtc.org/1229443003.

Cr-Commit-Position: refs/heads/master@{#9544}
2015-07-07 09:50:16 +00:00
chromium Roll chromium_revision a12e1e1..0cb2549 (326495:327252) 2015-04-29 12:48:00 +00:00
data Enable AudioProcessing48kHzSupport by default 2015-05-22 18:59:59 +00:00
infra Revert "Temporarily disabling CQ due to infrastructure problems." 2015-06-20 10:52:51 +00:00
resources Enable GoogleWifiTrace3Mbps simulations. 2015-05-04 12:26:26 +00:00
talk audio_processing: Adds two UMA histograms logging delay jumps in AEC 2015-07-07 09:50:16 +00:00
third_party Roll gtest-parallel. 2015-05-21 11:25:15 +00:00
tools Move frame input (ViECapturer) to webrtc/video/. 2015-06-26 04:58:23 +00:00
webrtc audio_processing: Adds two UMA histograms logging delay jumps in AEC 2015-07-07 09:50:16 +00:00
.clang-format Style-option file for clang-format. 2013-11-25 15:30:37 +00:00
.gitignore Roll chromium_revision b2c6a86..e937e5f (332773:333350) 2015-06-09 12:56:29 +00:00
.gn PRESUBMIT: Improve PyLint check and add GN format check. 2015-05-25 10:55:50 +00:00
all.gyp Remove libjingle_root GYP variable 2015-03-06 08:03:47 +00:00
AUTHORS Re-land: Add API to get negotiated SSL ciphers 2015-02-11 22:35:30 +00:00
BUILD.gn Initial GN work for WebRTC 2014-06-17 08:54:03 +00:00
check_root_dir.py Remove root_dir variable from DEPS + enforce rename. 2014-10-09 09:11:27 +00:00
codereview.settings Move to Chromium's Rietveld at codereview.webrtc.org 2015-06-04 07:07:42 +00:00
COPYING Libjingle in webrtc needs updated AUTHORS, COPYING, LICENSE_THIRD_PARTY AND README. 2013-07-16 18:04:56 +00:00
DEPS Roll chromium_revision fbf756f..3ead4bc (336289:336983) 2015-07-01 10:46:03 +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 Roll chromium_revision 5333e14..d8f8dc8 (323410:324211) 2015-04-09 13:36:33 +00:00
PATENTS Add references to src/ copies for LICENSE etc. 2011-10-26 01:05:07 +00:00
PRESUBMIT.py Revert of Fix PRESUBMIT.py after disabling CQ. (patchset #1 id:1 of https://codereview.webrtc.org/1192673003/) 2015-06-20 11:00:52 +00:00
pylintrc PRESUBMIT: Improve PyLint check and add GN format check. 2015-05-25 10:55:50 +00:00
setup_links.py Roll chromium_revision b2c6a86..e937e5f (332773:333350) 2015-06-09 12:56:29 +00:00
sync_chromium.py Roll chromium_revision e937e5f..c2239a8 (333350:334133) 2015-06-15 09:10:25 +00:00
WATCHLISTS Adding henrik.lundin to two WATCHLISTS 2015-06-05 07:08:03 +00:00