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

Issue 2273653002: Add groupid for media devices. Group audio devices. (Closed)

Created:
4 years, 4 months ago by Max Morin
Modified:
4 years, 3 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add groupid for media devices. Group audio devices. At present, the renderer tries to use matched_output_device to assign groupids to audio devices. matched_output_device isn't set before devices are sent to the renderer, and we wouldn't be able to handle all the cases with it anyways. BUG=636300, 627793 Committed: https://crrev.com/f07d1047986130ef0277a87b5b0b6175c4362c98 Cr-Commit-Position: refs/heads/master@{#416140}

Patch Set 1 #

Patch Set 2 : Add unit test. #

Total comments: 8

Patch Set 3 : Rename variables #

Total comments: 8

Patch Set 4 : Fix. #

Patch Set 5 : Various small fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -19 lines) Patch
M content/browser/renderer_host/media/audio_input_device_manager.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/media_stream_manager.cc View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M content/common/media/media_stream_messages.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/media_stream_request.h View 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/media/mock_media_stream_dispatcher.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/media/user_media_client_impl.cc View 1 2 3 4 3 chunks +5 lines, -18 lines 0 comments Download
M media/audio/audio_manager.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M media/audio/audio_manager_base.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M media/audio/audio_manager_base.cc View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M media/audio/audio_manager_unittest.cc View 1 2 3 3 chunks +64 lines, -1 line 0 comments Download
M media/audio/mock_audio_manager.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M media/audio/mock_audio_manager.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (16 generated)
Max Morin
Guido: PTAL when you are back in office. This should make the grouping work on ...
4 years, 4 months ago (2016-08-24 07:39:25 UTC) #3
Guido Urdaneta
lgtm % nits Adding tommi for owner review. https://codereview.chromium.org/2273653002/diff/20001/content/browser/renderer_host/media/media_stream_manager.cc File content/browser/renderer_host/media/media_stream_manager.cc (right): https://codereview.chromium.org/2273653002/diff/20001/content/browser/renderer_host/media/media_stream_manager.cc#newcode1047 content/browser/renderer_host/media/media_stream_manager.cc:1047: request->salt, ...
4 years, 3 months ago (2016-08-29 13:59:48 UTC) #5
Max Morin
Guido: variables were renamed. Nasko: PTAL at content/common/media/media_stream_messages.h and content/public/common/media_stream_request.h. Tommi: PTAL at everything. https://codereview.chromium.org/2273653002/diff/20001/content/browser/renderer_host/media/media_stream_manager.cc ...
4 years, 3 months ago (2016-08-29 14:14:33 UTC) #7
tommi (sloooow) - chröme
https://codereview.chromium.org/2273653002/diff/40001/media/audio/audio_manager.h File media/audio/audio_manager.h (right): https://codereview.chromium.org/2273653002/diff/40001/media/audio/audio_manager.h#newcode247 media/audio/audio_manager.h:247: virtual std::string GetGroupIDOutput(std::string output_device_id) = 0; const std::string& output_device_id ...
4 years, 3 months ago (2016-08-29 16:19:54 UTC) #8
nasko
The IPC change looks good, but I will stamp the CL once it has been ...
4 years, 3 months ago (2016-08-29 16:58:14 UTC) #9
Max Morin
Tommi: PTAL https://codereview.chromium.org/2273653002/diff/40001/media/audio/audio_manager.h File media/audio/audio_manager.h (right): https://codereview.chromium.org/2273653002/diff/40001/media/audio/audio_manager.h#newcode247 media/audio/audio_manager.h:247: virtual std::string GetGroupIDOutput(std::string output_device_id) = 0; On ...
4 years, 3 months ago (2016-08-30 08:17:45 UTC) #10
tommi (sloooow) - chröme
lgtm
4 years, 3 months ago (2016-08-30 09:02:32 UTC) #11
Max Morin
On 2016/08/30 09:02:32, tommi (chrömium) wrote: > lgtm nasko: Since everyone else has LGTMed this, ...
4 years, 3 months ago (2016-09-01 09:31:52 UTC) #20
nasko
LGTM
4 years, 3 months ago (2016-09-01 15:35:11 UTC) #21
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/2273653002/80001
4 years, 3 months ago (2016-09-01 20:43:34 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-09-02 00:17:45 UTC) #26
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/f07d1047986130ef0277a87b5b0b6175c4362c98 Cr-Commit-Position: refs/heads/master@{#416140}
4 years, 3 months ago (2016-09-02 00:19:40 UTC) #28
Max Morin
4 years, 3 months ago (2016-09-02 09:00:36 UTC) #29
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/2296393004/ by maxmorin@chromium.org.

The reason for reverting is: Breaks webrtc FYI bots on mac
https://build.chromium.org/p/chromium.webrtc/builders/Mac%20Tester/builds/59143.
I'll have to figure out what's up with that ¯\_(ツ)_/¯.

Powered by Google App Engine
This is Rietveld 408576698