[media_stream_audio_processor] Avoids updating UMA stats before AEC has valid results
Stats are updated and logged continuously when echo cancellation is enabled. Being enabled is no guarantee for actually running since it, for example, is enabled by default when opening the microphone. All these invalid data clutter the UMA histogram. The improvement is a check for the first frame containing an echo state before start logging. This can only happen when the echo cancellation is actually running. BUG=450193 Review URL: https://codereview.chromium.org/1081063003 Cr-Commit-Position: refs/heads/master@{#326761}
Showing
Please register or sign in to comment