commit | fbe5d7c3d460ad8ae44ec8e80f08ee1679311d13 | [log] [tgz] |
---|---|---|
author | Alessio Bazzica <alessiob@webrtc.org> | Wed Oct 26 22:05:32 2022 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 27 14:40:40 2022 |
tree | 19fc68164fcaafe89be508f8609029585e0cce16 | |
parent | aebba7b46860f34d8d7415518bb6a28f67cbdae7 [diff] |
Reland "APM: log both applied and recommended input volume stats" This is a reland of commit 8d7273357d92fab881561d886ce8dfe94e6e2238 Root cause: audioproc_f doesn't call `metrics::Enable()` and therefore the stats reporter crashed when `metrics::HistogramFactoryGetCountsLinear()` returned a nullptr. Bug fix: Added `InputVolumeStatsReporter::cannot_log_stats_`, a const flag that is set to true if any histogram factory returns a nullptr. When true, the class does nothing. This CL also includes other code readability improvements that were not part of the original CL. Original change's description: > APM: log both applied and recommended input volume stats > > This CL replaces the existing `WebRTC.Audio.ApmAnalogGain.*` stats > with `WebRTC.Audio.Apm.AppliedInputVolume.*` and adds the > `WebRTC.Audio.Apm.RecommendedInputVolume.*` stats. > > Bug: webrtc:7494 > Change-Id: I70be710d20b1589fc814cbce3d3329ac1500686f > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/280220 > Reviewed-by: Hanna Silen <silen@webrtc.org> > Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> > Cr-Commit-Position: refs/heads/main@{#38468} Bug: webrtc:7494 Change-Id: I8373d16beb06b84f439d2c2274ededea7c5e95b0 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/280661 Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Reviewed-by: Hanna Silen <silen@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38484}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.