Chromium Code Reviews| Index: webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java |
| diff --git a/webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java b/webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java |
| index 39ed12cfa3d2708c9b0ee74c3724a0d707154ad7..484cf66d4cc5e69b854c75a9e9b7e3b35ebfe1e6 100644 |
| --- a/webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java |
| +++ b/webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java |
| @@ -410,7 +410,8 @@ public class VideoCapturerAndroid implements |
| Throwable error = null; |
| checkIsOnCameraThread(); |
| if (camera != null) { |
| - throw new RuntimeException("Camera has already been started."); |
| + Logging.e(TAG, "startCaptureOnCameraThread: Camera has already been started."); |
|
AlexG
2016/05/11 17:23:50
Worth also to call onCameraError?
magjed_webrtc
2016/05/12 09:44:24
I don't think so, because the camera should be run
|
| + return; |
| } |
| this.applicationContext = applicationContext; |
| this.frameObserver = frameObserver; |