Index: content/renderer/media/media_stream_dependency_factory.cc |
diff --git a/content/renderer/media/media_stream_dependency_factory.cc b/content/renderer/media/media_stream_dependency_factory.cc |
index 19c76914a8d3984515453a59f6f20ddc350033d3..2f57be4b5e0ff78df22d19390ad9ae8f358a6b50 100644 |
--- a/content/renderer/media/media_stream_dependency_factory.cc |
+++ b/content/renderer/media/media_stream_dependency_factory.cc |
@@ -194,7 +194,10 @@ bool MediaStreamDependencyFactory::CreateNativeLocalMediaStream( |
bool MediaStreamDependencyFactory::CreatePeerConnectionFactory() { |
if (!pc_factory_.get()) { |
DCHECK(!audio_device_); |
- audio_device_ = new WebRtcAudioDeviceImpl(); |
+ // TODO(miu): Some significant refactoring work is needed to support a |
+ // separate WebRtcAudioDevice per render view. For now, here's a stub: |
+ static const int kUnknownRenderViewId = -1; |
+ audio_device_ = new WebRtcAudioDeviceImpl(kUnknownRenderViewId); |
scoped_refptr<webrtc::PeerConnectionFactoryInterface> factory( |
webrtc::CreatePeerConnectionFactory(worker_thread_, |
signaling_thread_, |