| 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 15229d261d192b51c229a1711df4db0b100d0904..885df2e0e84bf79590aecc13dcc5a0e7a54c606f 100644
|
| --- a/content/renderer/media/media_stream_dependency_factory.cc
|
| +++ b/content/renderer/media/media_stream_dependency_factory.cc
|
| @@ -198,7 +198,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_,
|
|
|