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

Issue 190713004: Only turn on the audio processing by default for MEDIA_DEVICE_AUDIO_CAPTURE (Closed)

Created:
6 years, 9 months ago by no longer working on chromium
Modified:
6 years, 9 months ago
Reviewers:
miu, Alpha Left Google
CC:
chromium-reviews, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Only turn on the audio processing by default for MEDIA_DEVICE_AUDIO_CAPTURE. Then other clients of MEDIA_TAB_AUDIO_CAPTURE, MEDIA_TAB_VIDEO_CAPTURE, MEDIA_LOOPBACK_AUDIO_CAPTURE won't have the audio processing unless the users explicitly turn on the constraints. NOTRY=true BUG=264611 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255975

Patch Set 1 : #

Patch Set 2 : fixed the unittests #

Patch Set 3 : added unittest to protect the use cases. #

Total comments: 4

Patch Set 4 : renamed the test to VerifyTabCaptureWithoutAudioProcessing #

Patch Set 5 : rebased #

Patch Set 6 : rebased unittest #

Patch Set 7 : unittest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -11 lines) Patch
M content/renderer/media/media_stream_audio_processor.h View 1 2 3 4 3 chunks +4 lines, -1 line 0 comments Download
M content/renderer/media/media_stream_audio_processor.cc View 1 2 3 4 4 chunks +10 lines, -3 lines 0 comments Download
M content/renderer/media/media_stream_audio_processor_unittest.cc View 1 2 3 4 5 6 4 chunks +37 lines, -2 lines 0 comments Download
M content/renderer/media/webrtc/webrtc_local_audio_track_adapter_unittest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/media/webrtc_audio_capturer.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/media/webrtc_local_audio_track_unittest.cc View 1 2 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
no longer working on chromium
Hi Alpha or Yuri, Could either of you please review this CL? It prevents turning ...
6 years, 9 months ago (2014-03-07 13:57:26 UTC) #1
Alpha Left Google
LGTM after one nit. https://codereview.chromium.org/190713004/diff/80001/content/renderer/media/media_stream_audio_processor_unittest.cc File content/renderer/media/media_stream_audio_processor_unittest.cc (right): https://codereview.chromium.org/190713004/diff/80001/content/renderer/media/media_stream_audio_processor_unittest.cc#newcode196 content/renderer/media/media_stream_audio_processor_unittest.cc:196: TEST_F(MediaStreamAudioProcessorTest, VerifyCastWithoutAudioProcessing) { Should be ...
6 years, 9 months ago (2014-03-07 21:27:28 UTC) #2
no longer working on chromium
https://codereview.chromium.org/190713004/diff/80001/content/renderer/media/media_stream_audio_processor_unittest.cc File content/renderer/media/media_stream_audio_processor_unittest.cc (right): https://codereview.chromium.org/190713004/diff/80001/content/renderer/media/media_stream_audio_processor_unittest.cc#newcode196 content/renderer/media/media_stream_audio_processor_unittest.cc:196: TEST_F(MediaStreamAudioProcessorTest, VerifyCastWithoutAudioProcessing) { On 2014/03/07 21:27:29, Alpha wrote: > ...
6 years, 9 months ago (2014-03-07 21:56:52 UTC) #3
Alpha Left Google
https://codereview.chromium.org/190713004/diff/80001/content/renderer/media/media_stream_audio_processor_unittest.cc File content/renderer/media/media_stream_audio_processor_unittest.cc (right): https://codereview.chromium.org/190713004/diff/80001/content/renderer/media/media_stream_audio_processor_unittest.cc#newcode196 content/renderer/media/media_stream_audio_processor_unittest.cc:196: TEST_F(MediaStreamAudioProcessorTest, VerifyCastWithoutAudioProcessing) { On 2014/03/07 21:56:52, xians1 wrote: > ...
6 years, 9 months ago (2014-03-07 22:09:42 UTC) #4
miu
IMHO, this is not the right approach. You're adding a lot of plumbing to get ...
6 years, 9 months ago (2014-03-08 03:24:55 UTC) #5
no longer working on chromium
Hi Yuri, I got your point. But there are some reasons why things were done ...
6 years, 9 months ago (2014-03-08 09:27:56 UTC) #6
miu
Ah, I see. If this is meant to completely replace all the other overrides in ...
6 years, 9 months ago (2014-03-08 18:51:36 UTC) #7
no longer working on chromium
On 2014/03/08 18:51:36, miu wrote: > Ah, I see. If this is meant to completely ...
6 years, 9 months ago (2014-03-08 18:54:47 UTC) #8
no longer working on chromium
Done with changing test name to VerifyTabCaptureWithoutAudioProcessing. I will land the patch soon. Thanks. https://codereview.chromium.org/190713004/diff/80001/content/renderer/media/media_stream_audio_processor_unittest.cc ...
6 years, 9 months ago (2014-03-09 15:12:56 UTC) #9
no longer working on chromium
The CQ bit was checked by xians@chromium.org
6 years, 9 months ago (2014-03-09 15:17:54 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/190713004/100001
6 years, 9 months ago (2014-03-09 15:18:43 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-09 15:18:46 UTC) #12
commit-bot: I haz the power
Failed to apply patch for content/renderer/media/media_stream_audio_processor.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-09 15:18:47 UTC) #13
no longer working on chromium
The CQ bit was checked by xians@chromium.org
6 years, 9 months ago (2014-03-10 08:49:32 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/190713004/50004
6 years, 9 months ago (2014-03-10 08:49:43 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-10 09:09:30 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) app_list_unittests, ash_unittests, aura_unittests, cacheinvalidation_unittests, cc_unittests, check_deps, ...
6 years, 9 months ago (2014-03-10 09:09:31 UTC) #17
no longer working on chromium
The CQ bit was checked by xians@chromium.org
6 years, 9 months ago (2014-03-10 12:16:29 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/190713004/50004
6 years, 9 months ago (2014-03-10 12:16:35 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/190713004/50004
6 years, 9 months ago (2014-03-10 13:05:16 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/190713004/50004
6 years, 9 months ago (2014-03-10 14:20:20 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/190713004/50004
6 years, 9 months ago (2014-03-10 15:37:14 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/190713004/50004
6 years, 9 months ago (2014-03-10 17:35:13 UTC) #23
commit-bot: I haz the power
6 years, 9 months ago (2014-03-10 18:10:52 UTC) #24
Message was sent while issue was closed.
Change committed as 255975

Powered by Google App Engine
This is Rietveld 408576698