Index: webrtc/modules/video_capture/video_capture_factory.cc |
diff --git a/webrtc/modules/video_capture/video_capture_factory.cc b/webrtc/modules/video_capture/video_capture_factory.cc |
index 5b44a6c706c718f81da2d12d82dd77e2bc43401b..f88f916ba473bf03529345b72f2d81f956b34032 100644 |
--- a/webrtc/modules/video_capture/video_capture_factory.cc |
+++ b/webrtc/modules/video_capture/video_capture_factory.cc |
@@ -17,7 +17,11 @@ namespace webrtc |
VideoCaptureModule* VideoCaptureFactory::Create(const int32_t id, |
const char* deviceUniqueIdUTF8) { |
+#if defined(ANDROID) |
+ return nullptr; |
+#else |
return videocapturemodule::VideoCaptureImpl::Create(id, deviceUniqueIdUTF8); |
+#endif |
} |
VideoCaptureModule* VideoCaptureFactory::Create(const int32_t id, |
@@ -27,7 +31,11 @@ VideoCaptureModule* VideoCaptureFactory::Create(const int32_t id, |
VideoCaptureModule::DeviceInfo* VideoCaptureFactory::CreateDeviceInfo( |
const int32_t id) { |
+#if defined(ANDROID) |
+ return nullptr; |
+#else |
return videocapturemodule::VideoCaptureImpl::CreateDeviceInfo(id); |
+#endif |
} |
} // namespace webrtc |