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

Issue 23691038: Switch LiveAudio to source provider solution. (Closed)

Created:
7 years, 3 months ago by no longer working on chromium
Modified:
7 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Switch LiveAudio to a source provider solution. The current LiveAudio has some problems since it creates its own input stream instead of using the stream from gUM. This patch will make the WebAudio uses the data from gUM through a source provider. BUG=257963 TEST=content_unittests && http://webrtc.googlecode.com/svn/trunk/samples/js/demos/html/webaudio-and-webrtc.html Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223648

Patch Set 1 : #

Patch Set 2 : ready for review #

Patch Set 3 : rebased and fixed some unittests #

Total comments: 90

Patch Set 4 : addressed Tommi's comments and added unittest #

Total comments: 12

Patch Set 5 : added the missed unnitest.cc #

Patch Set 6 : Comments are addressed. #

Total comments: 8

Patch Set 7 : updated the comments and added notreached() #

Total comments: 13

Patch Set 8 : rebased and addressed the nits. #

Patch Set 9 : fixed the android bot #

Unified diffs Side-by-side diffs Delta from patch set Stats (+886 lines, -316 lines) Patch
M content/content_renderer.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/media_stream_dependency_factory.h View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M content/renderer/media/media_stream_dependency_factory.cc View 1 2 3 4 5 6 7 9 chunks +36 lines, -27 lines 0 comments Download
M content/renderer/media/media_stream_impl.cc View 1 2 3 4 5 6 1 chunk +1 line, -3 lines 0 comments Download
M content/renderer/media/media_stream_source_extra_data.h View 1 4 chunks +1 line, -5 lines 0 comments Download
M content/renderer/media/mock_media_stream_dependency_factory.h View 1 2 3 chunks +4 lines, -1 line 0 comments Download
M content/renderer/media/mock_media_stream_dependency_factory.cc View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M content/renderer/media/rtc_peer_connection_handler.cc View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
M content/renderer/media/rtc_peer_connection_handler_unittest.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/media/webaudio_capturer_source.h View 1 2 3 2 chunks +35 lines, -25 lines 0 comments Download
M content/renderer/media/webaudio_capturer_source.cc View 1 2 3 4 chunks +54 lines, -35 lines 0 comments Download
M content/renderer/media/webrtc_audio_capturer.h View 1 2 3 8 chunks +35 lines, -7 lines 0 comments Download
M content/renderer/media/webrtc_audio_capturer.cc View 1 2 3 4 5 11 chunks +102 lines, -137 lines 0 comments Download
M content/renderer/media/webrtc_audio_device_unittest.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
A content/renderer/media/webrtc_local_audio_source_provider.h View 1 2 3 4 5 6 7 1 chunk +109 lines, -0 lines 0 comments Download
A content/renderer/media/webrtc_local_audio_source_provider.cc View 1 2 3 4 5 6 7 1 chunk +155 lines, -0 lines 0 comments Download
A content/renderer/media/webrtc_local_audio_source_provider_unittest.cc View 1 2 3 4 5 6 7 1 chunk +121 lines, -0 lines 0 comments Download
M content/renderer/media/webrtc_local_audio_track.h View 1 2 3 4 5 6 7 7 chunks +29 lines, -16 lines 0 comments Download
M content/renderer/media/webrtc_local_audio_track.cc View 1 2 3 4 5 8 chunks +143 lines, -32 lines 0 comments Download
M content/renderer/media/webrtc_local_audio_track_unittest.cc View 1 2 3 4 5 6 7 8 21 chunks +32 lines, -20 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
no longer working on chromium
Tommi, I still need to tune some code in the source provider, but the overall ...
7 years, 3 months ago (2013-09-05 08:53:14 UTC) #1
no longer working on chromium
Hi Tommi, I think I have already correctly rebased, and please take a look at ...
7 years, 3 months ago (2013-09-05 16:27:30 UTC) #2
tommi (sloooow) - chröme
https://codereview.chromium.org/23691038/diff/17001/content/renderer/media/media_stream_dependency_factory.cc File content/renderer/media/media_stream_dependency_factory.cc (left): https://codereview.chromium.org/23691038/diff/17001/content/renderer/media/media_stream_dependency_factory.cc#oldcode610 content/renderer/media/media_stream_dependency_factory.cc:610: MaybeCreateAudioCapturer(-1, StreamDeviceInfo())); nice to get rid of this :) ...
7 years, 3 months ago (2013-09-06 11:20:30 UTC) #3
no longer working on chromium
Tommi, could you please take another look? Thanks, SX https://codereview.chromium.org/23691038/diff/17001/content/renderer/media/media_stream_dependency_factory.cc File content/renderer/media/media_stream_dependency_factory.cc (right): https://codereview.chromium.org/23691038/diff/17001/content/renderer/media/media_stream_dependency_factory.cc#newcode64 content/renderer/media/media_stream_dependency_factory.cc:64: ...
7 years, 3 months ago (2013-09-10 12:43:15 UTC) #4
tommi (sloooow) - chröme
https://codereview.chromium.org/23691038/diff/17001/content/renderer/media/media_stream_dependency_factory.cc File content/renderer/media/media_stream_dependency_factory.cc (right): https://codereview.chromium.org/23691038/diff/17001/content/renderer/media/media_stream_dependency_factory.cc#newcode64 content/renderer/media/media_stream_dependency_factory.cc:64: webrtc::MediaConstraintsInterface::kValueFalse}, On 2013/09/10 12:43:15, xians1 wrote: > On 2013/09/06 ...
7 years, 3 months ago (2013-09-10 16:00:38 UTC) #5
no longer working on chromium
Tommi, please take another look. Jochen, owner stamp for the gypi files. Thanks, SX https://codereview.chromium.org/23691038/diff/30001/content/renderer/media/media_stream_dependency_factory.cc ...
7 years, 3 months ago (2013-09-11 10:22:07 UTC) #6
jochen (gone - plz use gerrit)
gypi files lgtm
7 years, 3 months ago (2013-09-12 09:59:07 UTC) #7
tommi (sloooow) - chröme
need to run to a meeting, here are a few comments, will continue later today. ...
7 years, 3 months ago (2013-09-12 11:02:15 UTC) #8
no longer working on chromium
Hi Tommi, any look? SX https://codereview.chromium.org/23691038/diff/47001/content/renderer/media/webrtc_local_audio_source_provider.cc File content/renderer/media/webrtc_local_audio_source_provider.cc (right): https://codereview.chromium.org/23691038/diff/47001/content/renderer/media/webrtc_local_audio_source_provider.cc#newcode38 content/renderer/media/webrtc_local_audio_source_provider.cc:38: if (RenderThreadImpl::current()) { On ...
7 years, 3 months ago (2013-09-12 19:14:55 UTC) #9
tommi (sloooow) - chröme
lgtm with a few minor comments. I'm fine with todos in places where addressing it ...
7 years, 3 months ago (2013-09-12 20:40:54 UTC) #10
no longer working on chromium
Thanks Tommi for the review, I will commit the CL now. https://codereview.chromium.org/23691038/diff/53001/content/renderer/media/webrtc_local_audio_source_provider.cc File content/renderer/media/webrtc_local_audio_source_provider.cc (right): ...
7 years, 3 months ago (2013-09-17 13:08:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/23691038/64001
7 years, 3 months ago (2013-09-17 13:08:27 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/23691038/89001
7 years, 3 months ago (2013-09-17 15:24:15 UTC) #13
commit-bot: I haz the power
7 years, 3 months ago (2013-09-17 18:52:43 UTC) #14
Message was sent while issue was closed.
Change committed as 223648

Powered by Google App Engine
This is Rietveld 408576698