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

Unified Diff: content/browser/renderer_host/media/media_stream_manager.cc

Issue 2296393004: Revert of Add groupid for media devices. Group audio devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/media/media_stream_manager.cc
diff --git a/content/browser/renderer_host/media/media_stream_manager.cc b/content/browser/renderer_host/media/media_stream_manager.cc
index 288ff2379cfef6c33e3e27f9ae373dbe840501d6..0d549c72f8aec382eb1ace40b0d9b79e4d00dece 100644
--- a/content/browser/renderer_host/media/media_stream_manager.cc
+++ b/content/browser/renderer_host/media/media_stream_manager.cc
@@ -767,8 +767,6 @@
for (const auto& entry : device_enumeration.devices) {
StreamDeviceInfo device_info(MEDIA_DEVICE_AUDIO_OUTPUT, entry.device_name,
entry.unique_id);
- device_info.device.group_id =
Guido Urdaneta 2016/09/02 09:16:36 The problem with the failed test is that you are c
- audio_manager_->GetGroupIDOutput(device_info.device.id);
device_infos.push_back(device_info);
}
}
@@ -1042,9 +1040,6 @@
request->video_type() == MEDIA_DEVICE_VIDEO_CAPTURE) {
device->id = GetHMACForMediaDeviceID(request->salt,
request->security_origin, device->id);
- if (!device->group_id.empty())
- device->group_id = GetHMACForMediaDeviceID(
- request->salt, request->security_origin, device->group_id);
}
}
« no previous file with comments | « content/browser/renderer_host/media/audio_input_device_manager.cc ('k') | content/common/media/media_stream_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698