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

Unified Diff: content/renderer/media/mock_media_stream_dispatcher.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/renderer/media/mock_media_stream_dispatcher.cc
diff --git a/content/renderer/media/mock_media_stream_dispatcher.cc b/content/renderer/media/mock_media_stream_dispatcher.cc
index e66985142b330e2877bf0483524495a0a0f599a0..86947d0b7d2a4ea8fd9d6b9dd92eb4b393e5340d 100644
--- a/content/renderer/media/mock_media_stream_dispatcher.cc
+++ b/content/renderer/media/mock_media_stream_dispatcher.cc
@@ -116,10 +116,6 @@
if (matched_output) {
audio.device.matched_output_device_id =
kAudioOutputDeviceIdPrefix + base::IntToString(session_id_);
- audio.device.group_id =
- kAudioOutputDeviceIdPrefix + base::IntToString(session_id_);
- } else {
- audio.device.group_id = audio.device.id + "groupid";
}
audio.session_id = session_id_;
audio.device.input.sample_rate = media::AudioParameters::kAudioCDSampleRate;
@@ -131,8 +127,6 @@
void MockMediaStreamDispatcher::AddAudioOutputDeviceToArray() {
StreamDeviceInfo audio;
audio.device.id = kAudioOutputDeviceIdPrefix + base::IntToString(session_id_);
- audio.device.group_id =
- kAudioOutputDeviceIdPrefix + base::IntToString(session_id_);
audio.device.name = "speaker";
audio.device.type = MEDIA_DEVICE_AUDIO_OUTPUT;
audio.device.video_facing = MEDIA_VIDEO_FACING_NONE;

Powered by Google App Engine
This is Rietveld 408576698