android.hardware.camera2.CameraAccessException: Operation timed out in camera service

Stack Overflow | samgak | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Recording video not working with Camera2 API on Samsung Note5 after using ImageReader

    Stack Overflow | 6 months ago | samgak
    android.hardware.camera2.CameraAccessException: Operation timed out in camera service
  2. 0

    GitHub comment 2#259725686

    GitHub | 5 months ago | sandeeptengale
    android.hardware.camera2.CameraAccessException: Operation timed out in camera service

Root Cause Analysis

  1. android.hardware.camera2.CameraAccessException

    Operation timed out in camera service

    at android.hardware.camera2.utils.CameraBinderDecorator.throwOnError()
  2. Android
    Decorator.invoke
    1. android.hardware.camera2.utils.CameraBinderDecorator.throwOnError(CameraBinderDecorator.java:118)
    2. android.hardware.camera2.utils.CameraBinderDecorator$CameraBinderDecoratorListener.onAfterInvocation(CameraBinderDecorator.java:73)
    3. android.hardware.camera2.utils.Decorator.invoke(Decorator.java:81)
    3 frames
  3. Java RT
    Proxy.invoke
    1. java.lang.reflect.Proxy.invoke(Proxy.java:393)
    1 frame
  4. Unknown
    $Proxy1.waitUntilIdle
    1. $Proxy1.waitUntilIdle(Unknown Source)
    1 frame
  5. Android
    CameraDeviceImpl.createCaptureSession
    1. android.hardware.camera2.impl.CameraDeviceImpl.waitUntilIdle(CameraDeviceImpl.java:950)
    2. android.hardware.camera2.impl.CameraDeviceImpl.configureStreamsChecked(CameraDeviceImpl.java:399)
    3. android.hardware.camera2.impl.CameraDeviceImpl.createCaptureSessionInternal(CameraDeviceImpl.java:561)
    4. android.hardware.camera2.impl.CameraDeviceImpl.createCaptureSession(CameraDeviceImpl.java:476)
    4 frames
  6. com.example
    Camera2Object.startVideoCapture
    1. com.example.Camera2Object.startVideoCapture(Camera2Object.java:2262)
    1 frame