DescriptionSupport the Aec dump for the APM in chrome.
The code will run behind the kEnableAudioTrackProcessor flag and the behaviour will be compatible with the existing behaviours.
Since AEC dump can be started only once, so we can't re-create a new instance of MediaStreamAudioProcessor when the format changes. This CL will create the MediaStreamAudioProcessor in the constructor of WebRtcAudioCapturer and call OnCaptureFormatChanged() to the MediaStreamAudioProcessor when the format changes.
BUG=264611
TEST=manual enable aec dump in chrome://webrtc-internals and verify the aec dump audio files.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255769
Patch Set 1 : #
Total comments: 23
Patch Set 2 : only allow calling StartAecDump() on one APM. #
Total comments: 17
Patch Set 3 : rebased and addressed the comments. #Patch Set 4 : minor fix to one comment. #Messages
Total messages: 19 (0 generated)
|