| 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 738581f2d1723827835a5853e967db6f6685d3bf..7068bfad4d34cb5b7a3953e6c668d100d904b93b 100644
|
| --- a/content/renderer/media/media_stream_dependency_factory.cc
|
| +++ b/content/renderer/media/media_stream_dependency_factory.cc
|
| @@ -201,7 +201,11 @@ 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. http://crbug.com/156535
|
| + // 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_,
|
|
|