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

Issue 185413009: Implements the GetSignalLevel and GetStats interface for the local audio track. (Closed)

Created:
6 years, 9 months ago by no longer working on chromium
Modified:
6 years, 9 months ago
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

Implements the GetSignalLevel and GetStats interface for the local audio track. From this patch, libjingle is able to get the signal level and stats from the local audio track in chrome. Note, that this patch works with and without kEnableAudioTrackProcessing. When kEnableAudioTrackProcessing is set, libjingle gets values from the chromium track, otherwise it will continue to use the values got from webrtc. After https://codereview.chromium.org/178223013/ is landed, this CL will rebase and implement the GetSignalLevel() correctly. BUG=334273 TEST=content_unittests, nothing breaks; Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255351

Patch Set 1 : #

Total comments: 15

Patch Set 2 : rebased https://codereview.chromium.org/178223013 and used scope_refpt #

Total comments: 6

Patch Set 3 : changed to scoped_refptr<MediaStreamAudioProcessor> audio_processor #

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -15 lines) Patch
M content/renderer/media/media_stream_audio_processor.h View 1 2 3 4 chunks +13 lines, -4 lines 0 comments Download
M content/renderer/media/media_stream_audio_processor.cc View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download
M content/renderer/media/media_stream_audio_processor_options.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_audio_processor_options.cc View 1 1 chunk +39 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_audio_processor_unittest.cc View 3 chunks +14 lines, -2 lines 0 comments Download
M content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h View 1 2 5 chunks +20 lines, -1 line 0 comments Download
M content/renderer/media/webrtc/webrtc_local_audio_track_adapter.cc View 1 2 4 chunks +24 lines, -2 lines 0 comments Download
M content/renderer/media/webrtc_audio_capturer.cc View 3 chunks +10 lines, -2 lines 0 comments Download
M content/renderer/media/webrtc_local_audio_track.h View 1 3 chunks +9 lines, -2 lines 0 comments Download
M content/renderer/media/webrtc_local_audio_track.cc View 1 2 2 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
no longer working on chromium
Hi, please review this CL. Andrew, please take a look at media_stream_audio_processor_options.cc::GetAecStats(), but you are ...
6 years, 9 months ago (2014-03-03 11:51:09 UTC) #1
tommi (sloooow) - chröme
lgtm % nits https://codereview.chromium.org/185413009/diff/20001/content/renderer/media/media_stream_audio_processor_options.cc File content/renderer/media/media_stream_audio_processor_options.cc (right): https://codereview.chromium.org/185413009/diff/20001/content/renderer/media/media_stream_audio_processor_options.cc#newcode185 content/renderer/media/media_stream_audio_processor_options.cc:185: stats->echo_return_loss = -100; Where is it ...
6 years, 9 months ago (2014-03-03 15:25:18 UTC) #2
ajm
https://codereview.chromium.org/185413009/diff/20001/content/renderer/media/media_stream_audio_processor_options.cc File content/renderer/media/media_stream_audio_processor_options.cc (right): https://codereview.chromium.org/185413009/diff/20001/content/renderer/media/media_stream_audio_processor_options.cc#newcode181 content/renderer/media/media_stream_audio_processor_options.cc:181: void GetAecStats(AudioProcessing* audio_processing, How often is this method polled? ...
6 years, 9 months ago (2014-03-04 02:23:11 UTC) #3
no longer working on chromium
Hi Tommi and Andrew, I have addressed your comments, PTAL. SX https://codereview.chromium.org/185413009/diff/20001/content/renderer/media/media_stream_audio_processor_options.cc File content/renderer/media/media_stream_audio_processor_options.cc (right): ...
6 years, 9 months ago (2014-03-04 15:48:59 UTC) #4
ajm
lgtm on GetAecStats given that you can't do anything about the polling frequency here.
6 years, 9 months ago (2014-03-04 17:26:15 UTC) #5
tommi (sloooow) - chröme
https://codereview.chromium.org/185413009/diff/40001/content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h File content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h (right): https://codereview.chromium.org/185413009/diff/40001/content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h#newcode59 content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h:59: talk_base::scoped_refptr<webrtc::AudioProcessorInterface> processor); do we need to use talk_base::scoped_refptr here? ...
6 years, 9 months ago (2014-03-04 17:33:53 UTC) #6
no longer working on chromium
Tommi, ptal. SX https://codereview.chromium.org/185413009/diff/40001/content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h File content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h (right): https://codereview.chromium.org/185413009/diff/40001/content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h#newcode59 content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h:59: talk_base::scoped_refptr<webrtc::AudioProcessorInterface> processor); On 2014/03/04 17:33:54, tommi ...
6 years, 9 months ago (2014-03-04 18:54:06 UTC) #7
tommi (sloooow) - chröme
lgtm
6 years, 9 months ago (2014-03-04 19:26:13 UTC) #8
no longer working on chromium
The CQ bit was checked by xians@chromium.org
6 years, 9 months ago (2014-03-06 10:09:28 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/185413009/70001
6 years, 9 months ago (2014-03-06 10:09:40 UTC) #10
commit-bot: I haz the power
6 years, 9 months ago (2014-03-06 14:39:10 UTC) #11
Message was sent while issue was closed.
Change committed as 255351

Powered by Google App Engine
This is Rietveld 408576698