camera-samples icon indicating copy to clipboard operation
camera-samples copied to clipboard

W/System.err: android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): waitUntilIdle:1313: Camera 0: Error waiting to drain: Connection timed out (-110)

Open arnab-kundu opened this issue 3 years ago • 4 comments

In Android 12 getting this exception while capturing image. W/System.err: android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): waitUntilIdle:1313: Camera 0: Error waiting to drain: Connection timed out (-110)

arnab-kundu avatar Oct 16 '21 06:10 arnab-kundu

how does this happen: which application, using camera2 or cameraX app?

ggfan avatar Oct 16 '21 16:10 ggfan

Steps to reproduce this issue

  • I am using Camera2Basic sample application of this repository.
  • Emulator version Android 12.
  • In emulator edit option I have selected Show Advance Settings -> Camera Back-> Virtual Scene

Issue was not reproducible while I am choosing Show Advance Settings -> Camera Back-> Emulated. I am not sure its a problem of emulator or not.

arnab-kundu avatar Oct 19 '21 03:10 arnab-kundu

sorry, looks like it is emulator issue: https://github.com/android/camera-samples/issues/428, related to internal bug b/201798445.

ggfan avatar Oct 19 '21 03:10 ggfan

Hi @ggfan, this issue still occurs on VirtualScene and Webcam0. Does this issue come from the CameraX library or Emulator?

naufalprakoso avatar Mar 13 '23 04:03 naufalprakoso