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

Issue 22408006: Properly set loopback device ID for system audio capture. (Closed)

Created:
7 years, 4 months ago by hshi1
Modified:
7 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, jam, miu+watch_chromium.org
Visibility:
Public.

Description

Properly set loopback device ID for system audio capture. Make sure the MediaStreamDevice has the correct loopback device ID for system audio capture in MediaCaptureDevicesDispatcher::ProcessScreenCaptureAccessRequest. Remove the hack in audio_input_renderer_host to override the loopback device ID. BUG=269626 TBR=dalecurtis@chromium.org, xians@chromium.org TEST=passes trybots, local testing on Chrome OS confirms device ID is passed to WebRtcLocalAudioTrack ctor. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216271

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Dale's comments. #

Patch Set 4 : Apparently need to copy the variables out of one scope just like all the other vars. #

Total comments: 2

Patch Set 5 : Give a valid name to the system audio capture device. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -32 lines) Patch
M build/common.gypi View 1 2 3 6 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/media/media_capture_devices_dispatcher.cc View 1 2 3 4 4 chunks +28 lines, -8 lines 0 comments Download
M content/browser/renderer_host/media/audio_input_renderer_host.cc View 2 chunks +1 line, -16 lines 0 comments Download
M content/content_browser.gypi View 2 chunks +0 lines, -8 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
hshi1
Sergey: PTAL. I believe we need to remove the hack in audio_input_renderer_host that detects MEDIA_SYSTEM_AUDIO_CAPTURE ...
7 years, 4 months ago (2013-08-07 18:28:02 UTC) #1
hshi1
Adding Dale as audio owner (xians@ may be offline now). Thanks!
7 years, 4 months ago (2013-08-07 18:32:00 UTC) #2
DaleCurtis
https://codereview.chromium.org/22408006/diff/3001/chrome/browser/media/media_capture_devices_dispatcher.cc File chrome/browser/media/media_capture_devices_dispatcher.cc (right): https://codereview.chromium.org/22408006/diff/3001/chrome/browser/media/media_capture_devices_dispatcher.cc#newcode210 chrome/browser/media/media_capture_devices_dispatcher.cc:210: bool origin_is_secure = const all of these bools? https://codereview.chromium.org/22408006/diff/3001/chrome/chrome_browser.gypi ...
7 years, 4 months ago (2013-08-07 18:43:11 UTC) #3
hshi1
https://codereview.chromium.org/22408006/diff/3001/chrome/browser/media/media_capture_devices_dispatcher.cc File chrome/browser/media/media_capture_devices_dispatcher.cc (right): https://codereview.chromium.org/22408006/diff/3001/chrome/browser/media/media_capture_devices_dispatcher.cc#newcode210 chrome/browser/media/media_capture_devices_dispatcher.cc:210: bool origin_is_secure = On 2013/08/07 18:43:11, DaleCurtis wrote: > ...
7 years, 4 months ago (2013-08-07 18:50:24 UTC) #4
DaleCurtis
lgtm
7 years, 4 months ago (2013-08-07 18:58:51 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/22408006/6002
7 years, 4 months ago (2013-08-07 19:04:54 UTC) #6
no longer working on chromium
lgtm, thanks for fixing it. Probably you should add browser tests to prevent breaking the ...
7 years, 4 months ago (2013-08-07 19:15:45 UTC) #7
hshi1
https://codereview.chromium.org/22408006/diff/6002/chrome/browser/media/media_capture_devices_dispatcher.cc File chrome/browser/media/media_capture_devices_dispatcher.cc (right): https://codereview.chromium.org/22408006/diff/6002/chrome/browser/media/media_capture_devices_dispatcher.cc#newcode264 chrome/browser/media/media_capture_devices_dispatcher.cc:264: std::string())); On 2013/08/07 19:15:45, xians1 wrote: > It is ...
7 years, 4 months ago (2013-08-07 19:17:39 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/22408006/22002
7 years, 4 months ago (2013-08-07 19:17:59 UTC) #9
hshi1
7 years, 4 months ago (2013-08-07 21:02:37 UTC) #10
Message was sent while issue was closed.
Committed patchset #5 manually as r216271 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698