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

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

Issue 11783059: Ensures that WebRTC works for device selection using a different sample rate than default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Had to restore usage of UTF16ToUTF8() in MediaStreamImpl::OnCreateNativeSourcesComplete to build on… Created 7 years, 11 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 3523a17e3d6a36ccae8fcfe0ebeadd8f0e73521a..7a3b04241b8b76468a1ef045b7c6494f88751e3e 100644
--- a/content/browser/renderer_host/media/media_stream_manager.cc
+++ b/content/browser/renderer_host/media/media_stream_manager.cc
@@ -110,6 +110,9 @@ class MediaStreamManager::DeviceRequest {
WebContentsCaptureUtil::StripWebContentsDeviceScheme(
requested_device_id);
+ // TODO(henrika): possibly add new sample rate and channel configuration
+ // here as well. See AudioInputDeviceManager::EnumerateOnDeviceThread()
+ // for details.
media_observer->OnMediaRequestStateChanged(
render_process_id, render_view_id,
MediaStreamDevice(

Powered by Google App Engine
This is Rietveld 408576698