Index: content/renderer/render_view_impl.cc |
=================================================================== |
--- content/renderer/render_view_impl.cc (revision 179784) |
+++ content/renderer/render_view_impl.cc (working copy) |
@@ -4060,6 +4060,11 @@ |
if (!RenderThreadImpl::current()) // Will be NULL during unit tests. |
return; |
+#if defined(OS_ANDROID) |
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableWebRTC)) |
+ return; |
+#endif |
+ |
#if defined(ENABLE_WEBRTC) |
if (!media_stream_dispatcher_) |
media_stream_dispatcher_ = new MediaStreamDispatcher(this); |