Created
January 17, 2024 06:28
-
-
Save bglgwyng/4b287419ff61a02d7c09efb9a53e8cad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2024-01-17 15:27:38.980 25577-25577 InsetsSourceConsumer com.mrousavy.camera.example D ensureControlAlpha: for ITYPE_STATUS_BAR on com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity | |
2024-01-17 15:27:39.341 25577-25577 ViewRootIm...nActivity] com.mrousavy.camera.example I ViewPostIme pointer 0 | |
2024-01-17 15:27:39.399 25577-25577 ViewRootIm...nActivity] com.mrousavy.camera.example I ViewPostIme pointer 1 | |
2024-01-17 15:27:39.468 25577-25577 CameraView com.mrousavy.camera.example I Updating CameraSession... | |
2024-01-17 15:27:39.468 25577-25661 CameraSession com.mrousavy.camera.example I configure { ... }: Waiting for lock... | |
2024-01-17 15:27:39.469 25577-25661 CameraSession com.mrousavy.camera.example I configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=true, outputsChanged=true, sidePropsChanged=true, isActiveChanged=false) | |
2024-01-17 15:27:39.469 25577-25661 CameraSession com.mrousavy.camera.example I Closing previous Camera #0... | |
2024-01-17 15:27:39.471 25577-25639 ReactNativeJS com.mrousavy.camera.example I Camera: FRONT (1) | Format: (3648x1728 photo / 1920x912@60 video @ 60fps) | |
2024-01-17 15:27:40.075 25577-25577 ViewRootIm...nActivity] com.mrousavy.camera.example I ViewPostIme pointer 0 | |
2024-01-17 15:27:40.100 25577-25577 GestureDetector com.mrousavy.camera.example I obtain mCurrentDownEvent. id: 686312640 caller: com.swmansion.gesturehandler.core.ScaleGestureDetector.onTouchEvent:221 com.swmansion.gesturehandler.core.PinchGestureHandler.onHandle:67 com.swmansion.gesturehandler.core.GestureHandler.handle:380 | |
2024-01-17 15:27:40.108 25577-25577 GestureDetector com.mrousavy.camera.example I obtain mCurrentMotionEventRaw. action: 2 id: 51702730 | |
2024-01-17 15:27:40.145 25577-25577 ViewRootIm...nActivity] com.mrousavy.camera.example I ViewPostIme pointer 1 | |
2024-01-17 15:27:40.399 25577-25577 GestureDetector com.mrousavy.camera.example I handleMessage TAP | |
2024-01-17 15:27:40.645 25577-25577 ViewRootIm...nActivity] com.mrousavy.camera.example I ViewPostIme pointer 0 | |
2024-01-17 15:27:40.721 25577-25577 ViewRootIm...nActivity] com.mrousavy.camera.example I ViewPostIme pointer 1 | |
2024-01-17 15:27:40.776 25577-25639 ReactNativeJS com.mrousavy.camera.example I Camera: BACK (0) | Format: (4032x1908 photo / 1920x912@60 video @ 60fps) | |
2024-01-17 15:27:40.791 25577-25577 CameraView com.mrousavy.camera.example I Updating CameraSession... | |
2024-01-17 15:27:41.347 25577-25577 ViewRootIm...nActivity] com.mrousavy.camera.example I ViewPostIme pointer 0 | |
2024-01-17 15:27:41.432 25577-25577 ViewRootIm...nActivity] com.mrousavy.camera.example I ViewPostIme pointer 1 | |
2024-01-17 15:27:41.491 25577-25639 ReactNativeJS com.mrousavy.camera.example I Camera: FRONT (1) | Format: (3648x1728 photo / 1920x912@60 video @ 60fps) | |
2024-01-17 15:27:41.495 25577-25577 CameraView com.mrousavy.camera.example I Updating CameraSession... | |
2024-01-17 15:27:42.016 25577-25577 ViewRootIm...nActivity] com.mrousavy.camera.example I ViewPostIme pointer 0 | |
2024-01-17 15:27:42.076 25577-25577 ViewRootIm...nActivity] com.mrousavy.camera.example I ViewPostIme pointer 1 | |
2024-01-17 15:27:42.130 25577-25639 ReactNativeJS com.mrousavy.camera.example I Camera: BACK (0) | Format: (4032x1908 photo / 1920x912@60 video @ 60fps) | |
2024-01-17 15:27:42.135 25577-25577 CameraView com.mrousavy.camera.example I Updating CameraSession... | |
2024-01-17 15:27:42.964 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client com.mrousavy.camera.example API Level 2 | |
2024-01-17 15:27:42.970 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_NOT_PRESENT | |
2024-01-17 15:27:42.972 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_NOT_PRESENT | |
2024-01-17 15:27:42.972 25577-25640 CameraDevices com.mrousavy.camera.example I Camera #1 is now unavailable. | |
2024-01-17 15:27:42.975 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_NOT_PRESENT | |
2024-01-17 15:27:42.975 25577-25661 CameraView com.mrousavy.camera.example I invokeOnStopped() | |
2024-01-17 15:27:42.976 25577-25661 CameraSession com.mrousavy.camera.example I Configuring Camera #1... | |
2024-01-17 15:27:42.977 25577-25661 CameraManager com.mrousavy.camera.example I Camera #1: Opening... | |
2024-01-17 15:27:42.979 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_NOT_PRESENT | |
2024-01-17 15:27:42.982 25577-25591 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_NOT_PRESENT | |
2024-01-17 15:27:42.983 25577-25661 CameraSession com.mrousavy.camera.example E Failed to configure CameraSession! Error: getCameraCharacteristics:1019: Unable to retrieve camera characteristics for unknown device 1: No such file or directory (-2), isRunning: false, Config-Diff: Difference(deviceChanged=true, outputsChanged=true, sidePropsChanged=true, isActiveChanged=false) | |
java.lang.IllegalArgumentException: getCameraCharacteristics:1019: Unable to retrieve camera characteristics for unknown device 1: No such file or directory (-2) | |
at android.hardware.camera2.CameraManager.throwAsPublicException(CameraManager.java:1591) | |
at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:693) | |
at android.hardware.camera2.CameraManager.openCameraDeviceUserAsync(CameraManager.java:763) | |
at android.hardware.camera2.CameraManager.openCameraForUid(CameraManager.java:1059) | |
at android.hardware.camera2.CameraManager.openCameraForUid(CameraManager.java:1080) | |
at android.hardware.camera2.CameraManager.openCamera(CameraManager.java:958) | |
at com.mrousavy.camera.extensions.CameraManager_openCameraKt.openCamera(CameraManager+openCamera.kt:56) | |
at com.mrousavy.camera.core.CameraSession.configureCameraDevice(CameraSession.kt:299) | |
at com.mrousavy.camera.core.CameraSession.configure(CameraSession.kt:188) | |
at com.mrousavy.camera.CameraView$update$1.invokeSuspend(CameraView.kt:138) | |
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) | |
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) | |
at android.os.Handler.handleCallback(Handler.java:938) | |
at android.os.Handler.dispatchMessage(Handler.java:99) | |
at android.os.Looper.loopOnce(Looper.java:226) | |
at android.os.Looper.loop(Looper.java:313) | |
at android.os.HandlerThread.run(HandlerThread.java:67) | |
Caused by: android.os.ServiceSpecificException: getCameraCharacteristics:1019: Unable to retrieve camera characteristics for unknown device 1: No such file or directory (-2) (code 3) | |
at android.os.Parcel.createExceptionOrNull(Parcel.java:2452) | |
at android.os.Parcel.createException(Parcel.java:2422) | |
at android.os.Parcel.readException(Parcel.java:2405) | |
at android.os.Parcel.readException(Parcel.java:2347) | |
at android.hardware.ICameraService$Stub$Proxy.getCameraCharacteristics(ICameraService.java:924) | |
at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:672) | |
at android.hardware.camera2.CameraManager.openCameraDeviceUserAsync(CameraManager.java:763) | |
at android.hardware.camera2.CameraManager.openCameraForUid(CameraManager.java:1059) | |
at android.hardware.camera2.CameraManager.openCameraForUid(CameraManager.java:1080) | |
at android.hardware.camera2.CameraManager.openCamera(CameraManager.java:958) | |
at com.mrousavy.camera.extensions.CameraManager_openCameraKt.openCamera(CameraManager+openCamera.kt:56) | |
at com.mrousavy.camera.core.CameraSession.configureCameraDevice(CameraSession.kt:299) | |
at com.mrousavy.camera.core.CameraSession.configure(CameraSession.kt:188) | |
at com.mrousavy.camera.CameraView$update$1.invokeSuspend(CameraView.kt:138) | |
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) | |
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) | |
at android.os.Handler.handleCallback(Handler.java:938) | |
at android.os.Handler.dispatchMessage(Handler.java:99) | |
at android.os.Looper.loopOnce(Looper.java:226) | |
at android.os.Looper.loop(Looper.java:313) | |
at android.os.HandlerThread.run(HandlerThread.java:67) | |
2024-01-17 15:27:42.983 25577-25661 CameraView com.mrousavy.camera.example E invokeOnError(...): | |
2024-01-17 15:27:42.984 25577-25661 System.err com.mrousavy.camera.example W java.lang.IllegalArgumentException: getCameraCharacteristics:1019: Unable to retrieve camera characteristics for unknown device 1: No such file or directory (-2) | |
2024-01-17 15:27:42.984 25577-25661 System.err com.mrousavy.camera.example W at android.hardware.camera2.CameraManager.throwAsPublicException(CameraManager.java:1591) | |
2024-01-17 15:27:42.984 25577-25661 System.err com.mrousavy.camera.example W at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:693) | |
2024-01-17 15:27:42.984 25577-25661 System.err com.mrousavy.camera.example W at android.hardware.camera2.CameraManager.openCameraDeviceUserAsync(CameraManager.java:763) | |
2024-01-17 15:27:42.984 25577-25661 System.err com.mrousavy.camera.example W at android.hardware.camera2.CameraManager.openCameraForUid(CameraManager.java:1059) | |
2024-01-17 15:27:42.984 25577-25661 System.err com.mrousavy.camera.example W at android.hardware.camera2.CameraManager.openCameraForUid(CameraManager.java:1080) | |
2024-01-17 15:27:42.984 25577-25661 System.err com.mrousavy.camera.example W at android.hardware.camera2.CameraManager.openCamera(CameraManager.java:958) | |
2024-01-17 15:27:42.984 25577-25661 System.err com.mrousavy.camera.example W at com.mrousavy.camera.extensions.CameraManager_openCameraKt.openCamera(CameraManager+openCamera.kt:56) | |
2024-01-17 15:27:42.984 25577-25661 System.err com.mrousavy.camera.example W at com.mrousavy.camera.core.CameraSession.configureCameraDevice(CameraSession.kt:299) | |
2024-01-17 15:27:42.984 25577-25661 System.err com.mrousavy.camera.example W at com.mrousavy.camera.core.CameraSession.configure(CameraSession.kt:188) | |
2024-01-17 15:27:42.984 25577-25661 System.err com.mrousavy.camera.example W at com.mrousavy.camera.CameraView$update$1.invokeSuspend(CameraView.kt:138) | |
2024-01-17 15:27:42.985 25577-25591 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_NOT_PRESENT | |
2024-01-17 15:27:42.985 25577-25661 System.err com.mrousavy.camera.example W at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) | |
2024-01-17 15:27:42.985 25577-25661 System.err com.mrousavy.camera.example W at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) | |
2024-01-17 15:27:42.985 25577-25661 System.err com.mrousavy.camera.example W at android.os.Handler.handleCallback(Handler.java:938) | |
2024-01-17 15:27:42.985 25577-25661 System.err com.mrousavy.camera.example W at android.os.Handler.dispatchMessage(Handler.java:99) | |
2024-01-17 15:27:42.985 25577-25661 System.err com.mrousavy.camera.example W at android.os.Looper.loopOnce(Looper.java:226) | |
2024-01-17 15:27:42.985 25577-25661 System.err com.mrousavy.camera.example W at android.os.Looper.loop(Looper.java:313) | |
2024-01-17 15:27:42.985 25577-25661 System.err com.mrousavy.camera.example W at android.os.HandlerThread.run(HandlerThread.java:67) | |
2024-01-17 15:27:42.985 25577-25661 System.err com.mrousavy.camera.example W Caused by: android.os.ServiceSpecificException: getCameraCharacteristics:1019: Unable to retrieve camera characteristics for unknown device 1: No such file or directory (-2) (code 3) | |
2024-01-17 15:27:42.985 25577-25661 System.err com.mrousavy.camera.example W at android.os.Parcel.createExceptionOrNull(Parcel.java:2452) | |
2024-01-17 15:27:42.986 25577-25661 System.err com.mrousavy.camera.example W at android.os.Parcel.createException(Parcel.java:2422) | |
2024-01-17 15:27:42.986 25577-25661 System.err com.mrousavy.camera.example W at android.os.Parcel.readException(Parcel.java:2405) | |
2024-01-17 15:27:42.986 25577-25661 System.err com.mrousavy.camera.example W at android.os.Parcel.readException(Parcel.java:2347) | |
2024-01-17 15:27:42.986 25577-25661 System.err com.mrousavy.camera.example W at android.hardware.ICameraService$Stub$Proxy.getCameraCharacteristics(ICameraService.java:924) | |
2024-01-17 15:27:42.986 25577-25661 System.err com.mrousavy.camera.example W at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:672) | |
2024-01-17 15:27:42.986 25577-25661 System.err com.mrousavy.camera.example W ... 15 more | |
2024-01-17 15:27:42.987 25577-25591 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 4 status STATUS_NOT_PRESENT | |
2024-01-17 15:27:42.989 25577-25591 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 4 status STATUS_NOT_PRESENT | |
2024-01-17 15:27:42.991 25577-25661 CameraSession com.mrousavy.camera.example I configure { ... }: Waiting for lock... | |
2024-01-17 15:27:42.991 25577-25661 CameraView com.mrousavy.camera.example I A new configure { ... } call arrived, aborting this one... | |
2024-01-17 15:27:42.991 25577-25661 CameraSession com.mrousavy.camera.example I configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=false, outputsChanged=false, sidePropsChanged=false, isActiveChanged=false) | |
2024-01-17 15:27:42.991 25577-25661 CameraSession com.mrousavy.camera.example I Need to rebuild CameraDevice and CameraCaptureSession... | |
2024-01-17 15:27:42.991 25577-25661 CameraSession com.mrousavy.camera.example I Need to rebuild CameraDevice and CameraCaptureSession... | |
2024-01-17 15:27:42.991 25577-25661 CameraSession com.mrousavy.camera.example I Configuring Camera #0... | |
2024-01-17 15:27:42.991 25577-25661 CameraManager com.mrousavy.camera.example I Camera #0: Opening... | |
2024-01-17 15:27:42.992 25577-25591 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 5 status STATUS_NOT_PRESENT | |
2024-01-17 15:27:42.994 25577-25591 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 5 status STATUS_NOT_PRESENT | |
2024-01-17 15:27:42.997 25577-25640 AndroidRuntime com.mrousavy.camera.example E FATAL EXCEPTION: mqt_native_modules | |
Process: com.mrousavy.camera.example, PID: 25577 | |
java.lang.IllegalArgumentException: getCameraCharacteristics:1019: Unable to retrieve camera characteristics for unknown device 3: No such file or directory (-2) | |
at android.hardware.camera2.CameraManager.throwAsPublicException(CameraManager.java:1591) | |
at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:693) | |
at com.mrousavy.camera.core.CameraDeviceDetails.<init>(CameraDeviceDetails.kt:27) | |
at com.mrousavy.camera.CameraDevicesManager.getDevicesJson(CameraDevicesManager.kt:63) | |
at com.mrousavy.camera.CameraDevicesManager.sendAvailableDevicesChangedEvent(CameraDevicesManager.kt:71) | |
at com.mrousavy.camera.CameraDevicesManager$callback$1.onCameraUnavailable(CameraDevicesManager.kt:44) | |
at android.hardware.camera2.CameraManager$CameraManagerGlobal$7.run(CameraManager.java:2333) | |
at android.os.Handler.handleCallback(Handler.java:938) | |
at android.os.Handler.dispatchMessage(Handler.java:99) | |
at android.os.Looper.loopOnce(Looper.java:226) | |
at android.os.Looper.loop(Looper.java:313) | |
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228) | |
at java.lang.Thread.run(Thread.java:920) | |
Caused by: android.os.ServiceSpecificException: getCameraCharacteristics:1019: Unable to retrieve camera characteristics for unknown device 3: No such file or directory (-2) (code 3) | |
at android.os.Parcel.createExceptionOrNull(Parcel.java:2452) | |
at android.os.Parcel.createException(Parcel.java:2422) | |
at android.os.Parcel.readException(Parcel.java:2405) | |
at android.os.Parcel.readException(Parcel.java:2347) | |
at android.hardware.ICameraService$Stub$Proxy.getCameraCharacteristics(ICameraService.java:924) | |
at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:672) | |
at com.mrousavy.camera.core.CameraDeviceDetails.<init>(CameraDeviceDetails.kt:27) | |
at com.mrousavy.camera.CameraDevicesManager.getDevicesJson(CameraDevicesManager.kt:63) | |
at com.mrousavy.camera.CameraDevicesManager.sendAvailableDevicesChangedEvent(CameraDevicesManager.kt:71) | |
at com.mrousavy.camera.CameraDevicesManager$callback$1.onCameraUnavailable(CameraDevicesManager.kt:44) | |
at android.hardware.camera2.CameraManager$CameraManagerGlobal$7.run(CameraManager.java:2333) | |
at android.os.Handler.handleCallback(Handler.java:938) | |
at android.os.Handler.dispatchMessage(Handler.java:99) | |
at android.os.Looper.loopOnce(Looper.java:226) | |
at android.os.Looper.loop(Looper.java:313) | |
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228) | |
at java.lang.Thread.run(Thread.java:920) | |
2024-01-17 15:27:43.020 25577-25591 CameraManagerGlobal com.mrousavy.camera.example I Camera 52 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 | |
2024-01-17 15:27:43.024 25577-25591 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 52 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback | |
2024-01-17 15:27:43.026 25577-25591 CameraManagerGlobal com.mrousavy.camera.example I Camera 81 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2 | |
2024-01-17 15:27:43.028 25577-25591 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 81 state changed to (facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback | |
2024-01-17 15:27:43.029 25577-25810 CameraManagerGlobal com.mrousavy.camera.example I Camera 50 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 | |
2024-01-17 15:27:43.030 25577-25810 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 50 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback | |
2024-01-17 15:27:43.031 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2 | |
2024-01-17 15:27:43.033 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 1 state changed to (facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback | |
2024-01-17 15:27:43.034 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_PRESENT | |
2024-01-17 15:27:43.036 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_PRESENT | |
2024-01-17 15:27:43.038 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I Camera 5 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2 | |
2024-01-17 15:27:43.041 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 5 state changed to (facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback | |
2024-01-17 15:27:43.042 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 5 status STATUS_PRESENT | |
2024-01-17 15:27:43.043 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 5 status STATUS_PRESENT | |
2024-01-17 15:27:43.044 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I Camera 3 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2 | |
2024-01-17 15:27:43.045 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 3 state changed to (facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback | |
2024-01-17 15:27:43.047 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_PRESENT | |
2024-01-17 15:27:43.048 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_PRESENT | |
2024-01-17 15:27:43.052 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I Camera 4 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 | |
2024-01-17 15:27:43.054 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 4 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback | |
2024-01-17 15:27:43.055 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 4 status STATUS_PRESENT | |
2024-01-17 15:27:43.056 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 4 status STATUS_PRESENT | |
2024-01-17 15:27:43.058 25577-25639 ReactNativeJS com.mrousavy.camera.example E { [unknown/unknown: [unknown/unknown] getCameraCharacteristics:1019: Unable to retrieve camera characteristics for unknown device 1: No such file or directory (-2)] | |
name: 'unknown/unknown', | |
_code: 'unknown/unknown', | |
_message: '[unknown/unknown] getCameraCharacteristics:1019: Unable to retrieve camera characteristics for unknown device 1: No such file or directory (-2)', | |
_cause: | |
{ cause: | |
{ stacktrace: 'android.os.ServiceSpecificException: getCameraCharacteristics:1019: Unable to retrieve camera characteristics for unknown device 1: No such file or directory (-2) (code 3)\n\tat android.os.Parcel.createExceptionOrNull(Parcel.java:2452)\n\tat android.os.Parcel.createException(Parcel.java:2422)\n\tat android.os.Parcel.readException(Parcel.java:2405)\n\tat android.os.Parcel.readException(Parcel.java:2347)\n\tat android.hardware.ICameraService$Stub$Proxy.getCameraCharacteristics(ICameraService.java:924)\n\tat android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:672)\n\tat android.hardware.camera2.CameraManager.openCameraDeviceUserAsync(CameraManager.java:763)\n\tat android.hardware.camera2.CameraManager.openCameraForUid(CameraManager.java:1059)\n\tat android.hardware.camera2.CameraManager.openCameraForUid(CameraManager.java:1080)\n\tat android.hardware.camera2.CameraManager.openCamera(CameraManager.java:958)\n\tat com.mrousavy.camera.extensions.CameraManager_openCameraKt.openCamera(CameraManager+openCamera.kt:56)\n\tat com.mrousavy.camera.core.CameraSession.configureCameraDevice(CameraSession.kt:299)\n\tat com.mrousavy.camera.core.CameraSession.configure(CameraSession.kt:188)\n\tat com.mrousavy.camera.CameraView$update$1.invokeSuspend(CameraView.kt:138)\n\tat kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)\n\tat kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)\n\tat android.os.Handler.handleCallback(Handler.java:938)\n\tat android.os.Handler.dispatchMessage(Handler.java:99)\n\tat android.os.Looper.loopOnce(Looper.java:226)\n\tat android.os.Looper.loop(Looper.java:313)\n\tat android.os.HandlerThread.run(HandlerThread.java:67)\n', | |
message: 'getCameraCharacteristics:1019: Unable to retrieve camera characteristics for unknown device 1: No such file or directory (-2)' }, | |
2024-01-17 15:27:43.058 25577-25639 ReactNativeJS com.mrousavy.camera.example E stacktrace: 'java.lang.IllegalArgumentException: getCameraCharacteristics:1019: Unable to retrieve camera characteristics for unknown device 1: No such file or directory (-2)\n\tat android.hardware.camera2.CameraManager.throwAsPublicException(CameraManager.java:1591)\n\tat android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:693)\n\tat android.hardware.camera2.CameraManager.openCameraDeviceUserAsync(CameraManager.java:763)\n\tat android.hardware.camera2.CameraManager.openCameraForUid(CameraManager.java:1059)\n\tat android.hardware.camera2.CameraManager.openCameraForUid(CameraManager.java:1080)\n\tat android.hardware.camera2.CameraManager.openCamera(CameraManager.java:958)\n\tat com.mrousavy.camera.extensions.CameraManager_openCameraKt.openCamera(CameraManager+openCamera.kt:56)\n\tat com.mrousavy.camera.core.CameraSession.configureCameraDevice(CameraSession.kt:299)\n\tat com.mrousavy.camera.core.CameraSession.configure(CameraSession.kt:188)\n\tat com.mrousavy.camera.CameraView$update$1.invokeSuspend(CameraView.kt:138)\n\tat kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)\n\tat kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)\n\tat android.os.Handler.handleCallback(Handler.java:938)\n\tat android.os.Handler.dispatchMessage(Handler.java:99)\n\tat android.os.Looper.loopOnce(Looper.java:226)\n\tat android.os.Looper.loop(Looper.java:313)\n\tat android.os.HandlerThread.run(HandlerThread.java:67)\nCaused by: android.os.ServiceSpecificException: getCameraCharacteristics:1019: Unable to retrieve camera characteristics for unknown device 1: No such file or directory (-2) (code 3)\n\tat android.os.Parcel.createExceptionOrNull(Parcel.java:2452)\n\tat android.os.Parcel.createException(Par | |
2024-01-17 15:27:43.058 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I Camera 23 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 | |
2024-01-17 15:27:43.059 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 23 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback | |
2024-01-17 15:27:43.060 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I Camera 91 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2 | |
2024-01-17 15:27:43.062 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 91 state changed to (facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback | |
2024-01-17 15:27:43.062 25577-25810 CameraManagerGlobal com.mrousavy.camera.example I Camera 80 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 | |
2024-01-17 15:27:43.063 25577-25810 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 80 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback | |
2024-01-17 15:27:43.063 25577-25810 CameraManagerGlobal com.mrousavy.camera.example I Camera 41 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2 | |
2024-01-17 15:27:43.064 25577-25810 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 41 state changed to (facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback | |
2024-01-17 15:27:43.065 25577-25810 CameraManagerGlobal com.mrousavy.camera.example I Camera 20 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 | |
2024-01-17 15:27:43.065 25577-25810 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 20 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback | |
2024-01-17 15:27:43.066 25577-25810 CameraManagerGlobal com.mrousavy.camera.example I Camera 21 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 | |
2024-01-17 15:27:43.066 25577-25810 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 21 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback | |
2024-01-17 15:27:43.067 25577-25810 CameraManagerGlobal com.mrousavy.camera.example I Camera 2 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 | |
2024-01-17 15:27:43.067 25577-25810 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 2 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback | |
2024-01-17 15:27:43.068 25577-25810 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_PRESENT | |
2024-01-17 15:27:43.068 25577-25810 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_PRESENT | |
2024-01-17 15:27:43.068 25577-25810 CameraManagerGlobal com.mrousavy.camera.example I Camera 40 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 | |
2024-01-17 15:27:43.069 25577-25810 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 40 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback | |
2024-01-17 15:27:43.069 25577-25661 CameraSession com.mrousavy.camera.example I configure { ... }: Waiting for lock... | |
2024-01-17 15:27:43.069 25577-25661 CameraSession com.mrousavy.camera.example I configure { ... }: Waiting for lock... | |
2024-01-17 15:27:43.070 25577-25661 CameraManager com.mrousavy.camera.example I Camera #0: Opened! | |
2024-01-17 15:27:43.071 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 | |
2024-01-17 15:27:43.072 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_PRESENT | |
2024-01-17 15:27:43.072 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_PRESENT | |
2024-01-17 15:27:43.073 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_NOT_AVAILABLE | |
2024-01-17 15:27:43.073 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_NOT_AVAILABLE | |
2024-01-17 15:27:43.074 25577-25592 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPEN for client com.mrousavy.camera.example API Level 2 | |
2024-01-17 15:27:43.076 25577-25661 CameraSession com.mrousavy.camera.example I Successfully configured Camera #0! | |
2024-01-17 15:27:43.076 25577-25661 CameraSession com.mrousavy.camera.example I Destroying previous outputs... | |
2024-01-17 15:27:43.076 25577-25661 SurfaceOutput com.mrousavy.camera.example I Closing 4032x1908 PHOTO ImageReader.. | |
2024-01-17 15:27:43.076 25577-25661 SurfaceOutput com.mrousavy.camera.example I Closing 1920x912 Video Pipeline.. | |
2024-01-17 15:27:43.078 25577-25640 Process com.mrousavy.camera.example I Sending signal. PID: 25577 SIG: 9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment