Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Issue 2699113002: Register APM even though echo cancellation is disabled. (Closed)

Created:
3 years, 10 months ago by aleloi_chromium
Modified:
3 years, 9 months ago
Reviewers:
hbos_chromium
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, imcheng+watch_chromium.org, feature-media-reviews_chromium.org, posciak+watch_chromium.org, chfremer+watch_chromium.org, jam, avayvod+watch_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, jasonroberts+watch_google.com, xjz+watch_chromium.org, isheriff+watch_chromium.org, miu+watch_chromium.org, Ivo-OOO until feb 6, hlundin-chromium
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Register APM even though echo cancellation is disabled. When playout data passes through WebRTCAudioDeviceImpl, it's passed to the playout sinks. As of crrev.com/e3af3e, only MediaStreamAudioProcessor implements the sink interface. In the sink callback function (MediaStreamAudioProcessor::OnPlayoutData), the playout data is passed to the webrtc AudioProcessing module. The AudioProcessor registers itself as a sink in AudioDeviceImpl in ::InitializeAudioProcessingModule, but only when audio_constraints.GetEchoCancellationProperty() = false. This has consequences for crbug.com/webrtc/7169 (no AEC dump recording with echo cancellation off) and crbug.com/696955 (echo detector reports zeroes with echo cancellation off). This CL makes the MediaStreamAudioProcessor register itself as a sink indepedentent of audio_constraints.GetEchoCancellationProperty(). BUG=webrtc:7169, 696955 Review-Url: https://codereview.chromium.org/2699113002 Cr-Commit-Position: refs/heads/master@{#456677} Committed: https://chromium.googlesource.com/chromium/src/+/9d9f3e8b0d895e5c1f3f47078b5f729cbae5738b

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M content/renderer/media/media_stream_audio_processor.cc View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (14 generated)
aleloi_chromium
PTAL!
3 years, 9 months ago (2017-03-14 09:39:54 UTC) #10
hbos_chromium
lgtm
3 years, 9 months ago (2017-03-14 12:01:25 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2699113002/1
3 years, 9 months ago (2017-03-14 12:33:52 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-03-14 12:38:31 UTC) #18
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/9d9f3e8b0d895e5c1f3f47078b5f...

Powered by Google App Engine
This is Rietveld 408576698