diff --git a/sdk/android/src/java/org/webrtc/Camera2Session.java b/sdk/android/src/java/org/webrtc/Camera2Session.java
index 661ba144f1..8132a569e1 100644
--- a/sdk/android/src/java/org/webrtc/Camera2Session.java
+++ b/sdk/android/src/java/org/webrtc/Camera2Session.java
@@ -351,7 +351,7 @@ private void openCamera() {
 
     try {
       cameraManager.openCamera(cameraId, new CameraStateCallback(), cameraThreadHandler);
-    } catch (CameraAccessException e) {
+    } catch (CameraAccessException | IllegalArgumentException e) {
       reportError("Failed to open camera: " + e);
       return;
     }