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

Issue 2941773002: Added initial muted state to stream creation callback, to avoid races. (Closed)

Created:
3 years, 6 months ago by ossu-chromium
Modified:
3 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mfoltz+watch_chromium.org, miu+watch_chromium.org, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, xjz+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Added initial muted state to stream creation callback, to avoid races. BUG=chromium:729002 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2941773002 Cr-Commit-Position: refs/heads/master@{#482269} Committed: https://chromium.googlesource.com/chromium/src/+/227cd1ee0e84c4673305849a50d5386a07533e26

Patch Set 1 #

Patch Set 2 : Updated AudioInputController unit test to deal with intial muted state. #

Patch Set 3 : Rebase #

Patch Set 4 : Added mute information to DoCompleteCreation log message. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -71 lines) Patch
M content/browser/renderer_host/media/audio_input_renderer_host.h View 2 chunks +4 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/audio_input_renderer_host.cc View 1 2 3 3 chunks +9 lines, -6 lines 0 comments Download
M content/browser/renderer_host/media/audio_input_renderer_host_unittest.cc View 1 2 14 chunks +20 lines, -18 lines 0 comments Download
M content/browser/speech/speech_recognizer_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/common/media/audio_messages.h View 1 chunk +10 lines, -9 lines 0 comments Download
M content/renderer/media/audio_input_message_filter.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/media/audio_input_message_filter.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M content/renderer/pepper/pepper_platform_audio_input.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_platform_audio_input.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M media/audio/audio_input_controller.h View 1 2 1 chunk +6 lines, -5 lines 0 comments Download
M media/audio/audio_input_controller.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M media/audio/audio_input_controller_unittest.cc View 1 2 8 chunks +11 lines, -10 lines 0 comments Download
M media/audio/audio_input_device.h View 1 chunk +2 lines, -1 line 0 comments Download
M media/audio/audio_input_device.cc View 2 chunks +9 lines, -5 lines 0 comments Download
M media/audio/audio_input_device_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/audio/audio_input_ipc.h View 1 chunk +2 lines, -1 line 0 comments Download
M media/base/audio_capturer_source.h View 1 chunk +2 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 27 (19 generated)
ossu-chromium
The tests in the final CL revealed that there's a small window between OnCreated and ...
3 years, 6 months ago (2017-06-14 17:25:42 UTC) #7
Max Morin
I figured it was fine for the muted state to be updated after the stream ...
3 years, 6 months ago (2017-06-15 07:53:21 UTC) #8
ossu-chromium
Second part of changes to communicated muted state to JavaScript. The initial muted state is ...
3 years, 6 months ago (2017-06-22 15:36:06 UTC) #14
jochen (gone - plz use gerrit)
lgtm
3 years, 6 months ago (2017-06-22 16:19:31 UTC) #15
DaleCurtis
media/ lgtm
3 years, 6 months ago (2017-06-22 16:39:59 UTC) #16
dcheng
lgtm
3 years, 6 months ago (2017-06-22 19:59:32 UTC) #17
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/2941773002/60001
3 years, 5 months ago (2017-06-26 14:23:39 UTC) #24
commit-bot: I haz the power
3 years, 5 months ago (2017-06-26 14:27:41 UTC) #27
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/227cd1ee0e84c4673305849a50d5...

Powered by Google App Engine
This is Rietveld 408576698