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

Issue 23171026: Feed audio constraints over to WebRtcLocalAudioTrack (Closed)

Created:
7 years, 4 months ago by tommi (sloooow) - chröme
Modified:
7 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, jam, darin-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Feed audio constraints over to WebRtcLocalAudioTrack and check them to see if audio processing should be applied. Previously this check was just being based on a device id being empty or not, which doesn't do the right thing for WebAudio. BUG=277134 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220617

Patch Set 1 #

Total comments: 5

Patch Set 2 : Fix build #

Total comments: 6

Patch Set 3 : address comments #

Total comments: 4

Patch Set 4 : Rebase and update tests from the one-liner cl #

Patch Set 5 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -79 lines) Patch
M content/renderer/media/media_stream_dependency_factory.h View 2 chunks +10 lines, -4 lines 0 comments Download
M content/renderer/media/media_stream_dependency_factory.cc View 7 chunks +23 lines, -24 lines 0 comments Download
M content/renderer/media/mock_media_stream_dependency_factory.h View 2 chunks +7 lines, -5 lines 0 comments Download
M content/renderer/media/mock_media_stream_dependency_factory.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M content/renderer/media/rtc_media_constraints.h View 1 2 3 4 2 chunks +9 lines, -1 line 0 comments Download
M content/renderer/media/rtc_media_constraints.cc View 1 2 3 4 2 chunks +19 lines, -0 lines 0 comments Download
M content/renderer/media/rtc_peer_connection_handler_unittest.cc View 1 2 chunks +5 lines, -3 lines 0 comments Download
M content/renderer/media/webrtc_audio_device_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/webrtc_local_audio_track.h View 3 chunks +5 lines, -2 lines 0 comments Download
M content/renderer/media/webrtc_local_audio_track.cc View 1 2 3 1 chunk +41 lines, -10 lines 0 comments Download
M content/renderer/media/webrtc_local_audio_track_unittest.cc View 1 2 3 16 chunks +34 lines, -26 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
tommi (sloooow) - chröme
7 years, 4 months ago (2013-08-23 15:37:39 UTC) #1
henrika (OOO until Aug 14)
Guess it is best if xians starts out with this one. In the mean time, ...
7 years, 3 months ago (2013-08-26 08:04:55 UTC) #2
tommi (sloooow) - chröme
https://codereview.chromium.org/23171026/diff/1/content/renderer/media/webrtc_local_audio_track.cc File content/renderer/media/webrtc_local_audio_track.cc (right): https://codereview.chromium.org/23171026/diff/1/content/renderer/media/webrtc_local_audio_track.cc#newcode69 content/renderer/media/webrtc_local_audio_track.cc:69: need_audio_processing_(NeedsAudioProcessing(constraints)) { Henrik: Take a look at this line, ...
7 years, 3 months ago (2013-08-26 08:18:35 UTC) #3
tommi (sloooow) - chröme
Fix build
7 years, 3 months ago (2013-08-26 08:24:19 UTC) #4
henrika (OOO until Aug 14)
LGTM. If possible, please add reference to a demo which now works as intended given ...
7 years, 3 months ago (2013-08-26 11:34:48 UTC) #5
henrika (OOO until Aug 14)
https://codereview.chromium.org/23171026/diff/1/content/renderer/media/webrtc_local_audio_track.cc File content/renderer/media/webrtc_local_audio_track.cc (right): https://codereview.chromium.org/23171026/diff/1/content/renderer/media/webrtc_local_audio_track.cc#newcode69 content/renderer/media/webrtc_local_audio_track.cc:69: need_audio_processing_(NeedsAudioProcessing(constraints)) { Thanks for pointing out this key change. ...
7 years, 3 months ago (2013-08-26 11:34:55 UTC) #6
no longer working on chromium
I knew r216162 would disable the AEC for webaudio when I landed it, so it ...
7 years, 3 months ago (2013-08-26 19:15:41 UTC) #7
tommi (sloooow) - chröme
Yes let's discuss this today. Some background: I had a little meeting with the ML ...
7 years, 3 months ago (2013-08-27 06:10:10 UTC) #8
tommi (sloooow) - chröme
https://codereview.chromium.org/23171026/diff/22001/content/renderer/media/media_stream_dependency_factory.cc File content/renderer/media/media_stream_dependency_factory.cc (right): https://codereview.chromium.org/23171026/diff/22001/content/renderer/media/media_stream_dependency_factory.cc#newcode387 content/renderer/media/media_stream_dependency_factory.cc:387: // right now they're on the source, so we ...
7 years, 3 months ago (2013-08-27 10:58:22 UTC) #9
tommi (sloooow) - chröme
address comments
7 years, 3 months ago (2013-08-27 10:58:32 UTC) #10
no longer working on chromium
lgtm too. two nits https://codereview.chromium.org/23171026/diff/47001/content/renderer/media/rtc_media_constraints.cc File content/renderer/media/rtc_media_constraints.cc (right): https://codereview.chromium.org/23171026/diff/47001/content/renderer/media/rtc_media_constraints.cc#newcode76 content/renderer/media/rtc_media_constraints.cc:76: bool RTCMediaConstraints::AddMandatory(const std::string& key, nit, ...
7 years, 3 months ago (2013-08-27 11:10:51 UTC) #11
tommi (sloooow) - chröme
Rebase and update tests from the one-liner cl
7 years, 3 months ago (2013-08-30 16:18:04 UTC) #12
tommi (sloooow) - chröme
https://codereview.chromium.org/23171026/diff/47001/content/renderer/media/rtc_media_constraints.cc File content/renderer/media/rtc_media_constraints.cc (right): https://codereview.chromium.org/23171026/diff/47001/content/renderer/media/rtc_media_constraints.cc#newcode76 content/renderer/media/rtc_media_constraints.cc:76: bool RTCMediaConstraints::AddMandatory(const std::string& key, On 2013/08/27 11:10:51, xians1 wrote: ...
7 years, 3 months ago (2013-08-30 16:20:46 UTC) #13
tommi (sloooow) - chröme
Address comments
7 years, 3 months ago (2013-08-30 16:20:54 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommi@chromium.org/23171026/77001
7 years, 3 months ago (2013-08-30 16:21:27 UTC) #15
commit-bot: I haz the power
7 years, 3 months ago (2013-08-30 19:01:01 UTC) #16
Message was sent while issue was closed.
Change committed as 220617

Powered by Google App Engine
This is Rietveld 408576698