diff --git a/webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java b/webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java index 4e7f5f4c06..78d042df50 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."); + return; } this.applicationContext = applicationContext; this.frameObserver = frameObserver;