| 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..5117396dbe39874eef2065a10184c4f328921f85 100644
|
| --- a/content/renderer/media/media_stream_dependency_factory.cc
|
| +++ b/content/renderer/media/media_stream_dependency_factory.cc
|
| @@ -198,7 +198,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_,
|
|
|