Description[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
Committed: https://crrev.com/40d81fd5fea87aa63e82f1875e5874315ab215cf
Cr-Commit-Position: refs/heads/master@{#326761}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Removed {} #
Messages
Total messages: 9 (3 generated)
|