Skip to content

Instantly share code, notes, and snippets.

@bglgwyng
Created February 6, 2024 13:00
Show Gist options
  • Save bglgwyng/d93ebde82e3ca2ebd25f05ebb4384fed to your computer and use it in GitHub Desktop.
Save bglgwyng/d93ebde82e3ca2ebd25f05ebb4384fed to your computer and use it in GitHub Desktop.
---------------------------- PROCESS STARTED (24000) for package com.mrousavy.camera.example ----------------------------
2024-02-06 22:00:01.305 24000-24000 WindowOnBackDispatcher com.mrousavy.camera.example W sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda21@d261657
2024-02-06 22:00:01.306 24000-24000 ViewRootIm...w:877310a] com.mrousavy.camera.example I dispatchDetachedFromWindow
2024-02-06 22:00:01.308 24000-24000 InputTransport com.mrousavy.camera.example D Input channel destroyed: '7210a9e', fd=121
2024-02-06 22:00:01.329 24000-24082 CameraManagerGlobal com.mrousavy.camera.example I Connecting to camera service
2024-02-06 22:00:01.330 24000-24082 VendorTagDescriptor com.mrousavy.camera.example D addVendorDescriptor: vendor tag id 14172875900359437128 added
2024-02-06 22:00:01.332 24000-24013 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 22:00:01.332 24000-24013 CameraManagerGlobal com.mrousavy.camera.example I Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 22:00:01.332 24000-24013 CameraManagerGlobal com.mrousavy.camera.example I Camera 2 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 22:00:01.332 24000-24013 CameraManagerGlobal com.mrousavy.camera.example I Camera 20 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 22:00:01.332 24000-24013 CameraManagerGlobal com.mrousavy.camera.example I Camera 21 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 22:00:01.333 24000-24013 CameraManagerGlobal com.mrousavy.camera.example I Camera 23 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 22:00:01.333 24000-24013 CameraManagerGlobal com.mrousavy.camera.example I Camera 3 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 22:00:01.333 24000-24013 CameraManagerGlobal com.mrousavy.camera.example I Camera 4 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 22:00:01.333 24000-24013 CameraManagerGlobal com.mrousavy.camera.example I Camera 50 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 22:00:01.333 24000-24013 CameraManagerGlobal com.mrousavy.camera.example I Camera 52 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 22:00:01.334 24000-24013 CameraManagerGlobal com.mrousavy.camera.example I Camera 56 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 22:00:01.334 24000-24013 CameraManagerGlobal com.mrousavy.camera.example I Camera 58 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 22:00:01.338 24000-24082 unknown:ReactContext com.mrousavy.camera.example W initializeMessageQueueThreads() is called.
2024-02-06 22:00:01.341 24000-24000 unknown:ReactNative com.mrousavy.camera.example W Packager connection already open, nooping.
2024-02-06 22:00:01.357 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.traceupdateoverlay.TraceUpdateOverlayManager
2024-02-06 22:00:01.361 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.uimanager.LayoutShadowNode
2024-02-06 22:00:01.365 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.drawer.ReactDrawerLayoutManager
2024-02-06 22:00:01.366 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollViewManager
2024-02-06 22:00:01.369 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollContainerViewManager
2024-02-06 22:00:01.370 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.progressbar.ReactProgressBarViewManager
2024-02-06 22:00:01.371 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.progressbar.ProgressBarShadowNode
2024-02-06 22:00:01.372 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.scroll.ReactScrollViewManager
2024-02-06 22:00:01.375 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager
2024-02-06 22:00:01.377 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager$ReactSwitchShadowNode
2024-02-06 22:00:01.377 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.swiperefresh.SwipeRefreshLayoutManager
2024-02-06 22:00:01.379 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageViewManager
2024-02-06 22:00:01.379 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageShadowNode
2024-02-06 22:00:01.380 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.image.ReactImageManager
2024-02-06 22:00:01.382 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.modal.ReactModalHostManager
2024-02-06 22:00:01.384 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.modal.ModalHostShadowNode
2024-02-06 22:00:01.384 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.text.ReactRawTextManager
2024-02-06 22:00:01.384 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.text.ReactRawTextShadowNode
2024-02-06 22:00:01.385 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputManager
2024-02-06 22:00:01.389 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputShadowNode
2024-02-06 22:00:01.391 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.text.ReactTextViewManager
2024-02-06 22:00:01.393 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.text.ReactTextShadowNode
2024-02-06 22:00:01.394 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.view.ReactViewManager
2024-02-06 22:00:01.396 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextViewManager
2024-02-06 22:00:01.397 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextShadowNode
2024-02-06 22:00:01.398 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.unimplementedview.ReactUnimplementedViewManager
2024-02-06 22:00:01.399 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.reactnativecommunity.blurview.BlurViewManager
2024-02-06 22:00:01.400 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.dylanvann.fastimage.FastImageViewManager
2024-02-06 22:00:01.401 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.swmansion.gesturehandler.react.RNGestureHandlerRootViewManager
2024-02-06 22:00:01.402 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.swmansion.gesturehandler.react.RNGestureHandlerButtonViewManager
2024-02-06 22:00:01.403 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.th3rdwave.safeareacontext.SafeAreaProviderManager
2024-02-06 22:00:01.404 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.th3rdwave.safeareacontext.SafeAreaViewManager
2024-02-06 22:00:01.405 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.th3rdwave.safeareacontext.SafeAreaViewShadowNode
2024-02-06 22:00:01.406 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.swmansion.rnscreens.ScreenContainerViewManager
2024-02-06 22:00:01.407 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.swmansion.rnscreens.ScreenViewManager
2024-02-06 22:00:01.409 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.swmansion.rnscreens.ScreenStackViewManager
2024-02-06 22:00:01.410 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.swmansion.rnscreens.ScreenStackHeaderConfigViewManager
2024-02-06 22:00:01.411 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.swmansion.rnscreens.ScreenStackHeaderSubviewManager
2024-02-06 22:00:01.412 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.swmansion.rnscreens.SearchBarManager
2024-02-06 22:00:01.414 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.brentvatne.react.ReactVideoViewManager
2024-02-06 22:00:01.416 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.mrousavy.camera.CameraViewManager
2024-02-06 22:00:01.422 24000-24087 .camera.example com.mrousavy.camera.example W Accessing hidden field Ljava/lang/reflect/Field;->accessFlags:I (unsupported, reflection, allowed)
2024-02-06 22:00:01.423 24000-24087 unknown:ReactContext com.mrousavy.camera.example W initializeMessageQueueThreads() is called.
2024-02-06 22:00:01.443 24000-24087 CameraManager com.mrousavy.camera.example I registerAvailabilityCallback: Is device callback = false
2024-02-06 22:00:01.443 24000-24087 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_PRESENT
2024-02-06 22:00:01.443 24000-24087 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_PRESENT
2024-02-06 22:00:01.444 24000-24087 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_PRESENT
2024-02-06 22:00:01.444 24000-24087 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_PRESENT
2024-02-06 22:00:01.444 24000-24087 CameraDevices com.mrousavy.camera.example I Camera #0 is now available.
2024-02-06 22:00:01.444 24000-24087 CameraDevices com.mrousavy.camera.example I Camera #1 is now available.
2024-02-06 22:00:01.444 24000-24087 CameraDevices com.mrousavy.camera.example I Camera #2 is now available.
2024-02-06 22:00:01.444 24000-24087 CameraDevices com.mrousavy.camera.example I Camera #3 is now available.
2024-02-06 22:00:01.645 24000-24087 ziparchive com.mrousavy.camera.example W Unable to open '/data/app/~~vtzPC2TZMbUH5pp-tZ-Dqw==/com.google.android.trichromelibrary_609923033-XNNDdDG7CM0mb4op9wtqDw==/base.dm': No such file or directory
2024-02-06 22:00:01.645 24000-24087 ziparchive com.mrousavy.camera.example W Unable to open '/data/app/~~vtzPC2TZMbUH5pp-tZ-Dqw==/com.google.android.trichromelibrary_609923033-XNNDdDG7CM0mb4op9wtqDw==/base.dm': No such file or directory
2024-02-06 22:00:01.645 24000-24087 .camera.example com.mrousavy.camera.example W Entry not found
2024-02-06 22:00:01.647 24000-24087 nativeloader com.mrousavy.camera.example D Configuring clns-5 for other apk /data/app/~~vtzPC2TZMbUH5pp-tZ-Dqw==/com.google.android.trichromelibrary_609923033-XNNDdDG7CM0mb4op9wtqDw==/base.apk. target_sdk_version=34, uses_libraries=ALL, library_path=/data/app/~~6ZguC8CPpawWOinAut0lWw==/com.google.android.webview-g_06c6RdzKzfwtcVwl3H6w==/lib/arm64:/data/app/~~6ZguC8CPpawWOinAut0lWw==/com.google.android.webview-g_06c6RdzKzfwtcVwl3H6w==/base.apk!/lib/arm64-v8a:/data/app/~~vtzPC2TZMbUH5pp-tZ-Dqw==/com.google.android.trichromelibrary_609923033-XNNDdDG7CM0mb4op9wtqDw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand
2024-02-06 22:00:01.647 24000-24087 nativeloader com.mrousavy.camera.example D Extending system_exposed_libraries: libhumantracking.arcsoft.so:libPortraitDistortionCorrection.arcsoft.so:libPortraitDistortionCorrectionCali.arcsoft.so:libface_landmark.arcsoft.so:libFacialStickerEngine.arcsoft.so:libfrtracking_engine.arcsoft.so:libFaceRecognition.arcsoft.so:libveengine.arcsoft.so:lib_pet_detection.arcsoft.so:libhigh_res.arcsoft.so:libimage_enhancement.arcsoft.so:liblow_light_hdr.arcsoft.so:libhigh_dynamic_range.arcsoft.so:libsuperresolution.arcsoft.so:libFacialAttributeDetection.arcsoft.so:libobjectcapture_jni.arcsoft.so:libobjectcapture.arcsoft.so:libaudiomirroring_jni.audiomirroring.samsung.so:libBeauty_v4.camera.samsung.so:libexifa.camera.samsung.so:libjpega.camera.samsung.so:libOpenCv.camera.samsung.so:libVideoClassifier.camera.samsung.so:libImageScreener.camera.samsung.so:libMyFilter.camera.samsung.so:libtflite2.myfilters.camera.samsung.so:libHIDTSnapJNI.camera.samsung.so:libSmartScan.camera.samsung.so:libRectify.camera.samsung.so:libDocRectifyWrapper.camera.samsung.so:libUltraWideDi
2024-02-06 22:00:01.654 24000-24087 nativeloader com.mrousavy.camera.example D Configuring clns-6 for other apk /data/app/~~6ZguC8CPpawWOinAut0lWw==/com.google.android.webview-g_06c6RdzKzfwtcVwl3H6w==/base.apk. target_sdk_version=34, uses_libraries=, library_path=/data/app/~~6ZguC8CPpawWOinAut0lWw==/com.google.android.webview-g_06c6RdzKzfwtcVwl3H6w==/lib/arm64:/data/app/~~6ZguC8CPpawWOinAut0lWw==/com.google.android.webview-g_06c6RdzKzfwtcVwl3H6w==/base.apk!/lib/arm64-v8a:/data/app/~~vtzPC2TZMbUH5pp-tZ-Dqw==/com.google.android.trichromelibrary_609923033-XNNDdDG7CM0mb4op9wtqDw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand
2024-02-06 22:00:01.660 24000-24087 WebViewFactory com.mrousavy.camera.example I Loading com.google.android.webview version 120.0.6099.230 (code 609923033)
2024-02-06 22:00:01.675 24000-24087 cr_WVCFactoryProvider com.mrousavy.camera.example I Loaded version=120.0.6099.230 minSdkVersion=29 isBundle=true multiprocess=true packageId=2
2024-02-06 22:00:01.686 24000-24099 chromium com.mrousavy.camera.example E [0206/220001.686122:ERROR:variations_seed_loader.cc(69)] Failed to open file for reading. Errno: 2
2024-02-06 22:00:01.692 24000-24087 cr_LibraryLoader com.mrousavy.camera.example I Successfully loaded native library
2024-02-06 22:00:01.693 24000-24087 cr_CachingUmaRecorder com.mrousavy.camera.example I Flushed 7 samples from 7 histograms, 0 samples were dropped.
2024-02-06 22:00:01.706 24000-24102 TrafficStats com.mrousavy.camera.example D tagSocket(142) with statsTag=0xffffffff, statsUid=-1
2024-02-06 22:00:01.783 24000-24086 ReactNativeJS com.mrousavy.camera.example I Running "VisionCameraExample" with {"rootTag":11}
2024-02-06 22:00:01.786 24000-24103 TrafficStats com.mrousavy.camera.example D tagSocket(142) with statsTag=0xffffffff, statsUid=-1
2024-02-06 22:00:01.971 24000-24086 ReactNativeJS com.mrousavy.camera.example I Loading react-native-worklets-core...
2024-02-06 22:00:01.976 24000-24086 ReactNativeJS com.mrousavy.camera.example I Worklets loaded successfully
2024-02-06 22:00:01.981 24000-24086 VisionCameraProxy com.mrousavy.camera.example I Initializing VisionCameraProxy...
2024-02-06 22:00:01.981 24000-24086 VisionCameraProxy com.mrousavy.camera.example I Creating Worklet Context...
2024-02-06 22:00:01.982 24000-24086 VisionCameraProxy com.mrousavy.camera.example I Worklet Context created!
2024-02-06 22:00:01.987 24000-24086 ReactNativeJS com.mrousavy.camera.example I Re-rendering Navigator. Camera: granted | Microphone: granted
2024-02-06 22:00:02.081 24000-24086 .camera.example com.mrousavy.camera.example W CheckJNI: method to register "installJSIBindings" not in the given class. This is slow, consider changing your RegisterNatives calls.
2024-02-06 22:00:02.250 24000-24086 MMKV com.mrousavy.camera.example I Loading C++ library...
2024-02-06 22:00:02.252 24000-24086 MMKV com.mrousavy.camera.example I Installing MMKV JSI Bindings for MMKV root directory: /data/user/0/com.mrousavy.camera.example/files/mmkv
2024-02-06 22:00:02.252 24000-24086 MMKV com.mrousavy.camera.example I <MMKV.cpp:164::initialize> version v1.3.0, page size 4096, arch arm64-v8a
2024-02-06 22:00:02.252 24000-24086 MMKV com.mrousavy.camera.example I <MMKV.cpp:175::initialize> armv8 AES instructions is supported
2024-02-06 22:00:02.252 24000-24086 MMKV com.mrousavy.camera.example I <MMKV.cpp:183::initialize> armv8 CRC32 instructions is supported
2024-02-06 22:00:02.252 24000-24086 MMKV com.mrousavy.camera.example I <MMKV.cpp:207::initializeMMKV> root dir: /data/user/0/com.mrousavy.camera.example/files/mmkv
2024-02-06 22:00:02.252 24000-24086 MMKV com.mrousavy.camera.example I Successfully installed MMKV JSI Bindings!
2024-02-06 22:00:02.253 24000-24086 RNMMKV com.mrousavy.camera.example I Creating MMKV instance "mmkv.default"... (Path: , Encrypted: 0)
2024-02-06 22:00:02.253 24000-24086 MMKV com.mrousavy.camera.example I <MemoryFile.cpp:97::open> open fd[0x90], /data/user/0/com.mrousavy.camera.example/files/mmkv/mmkv.default
2024-02-06 22:00:02.253 24000-24086 MMKV com.mrousavy.camera.example I <MemoryFile.cpp:97::open> open fd[0x91], /data/user/0/com.mrousavy.camera.example/files/mmkv/mmkv.default.crc
2024-02-06 22:00:02.253 24000-24086 MMKV com.mrousavy.camera.example I <MMKV_IO.cpp:200::loadMetaInfoAndCheck> meta file [mmkv.default] has flag [0]
2024-02-06 22:00:02.253 24000-24086 MMKV com.mrousavy.camera.example I <MMKV_IO.cpp:78::loadFromFile> loading [mmkv.default] with 0 actual size, file size 4096, InterProcess 0, meta info version:4
2024-02-06 22:00:02.253 24000-24086 MMKV com.mrousavy.camera.example I <MMKV_IO.cpp:127::loadFromFile> loaded [mmkv.default] with 0 key-values
2024-02-06 22:00:02.319 24000-24086 Compatibil...geReporter com.mrousavy.camera.example D Compat change id reported: 206033068; UID 10534; state: ENABLED
2024-02-06 22:00:02.980 24000-24086 FrameProce...inRegistry com.mrousavy.camera.example I Looking up Frame Processor Plugin "example_plugin"...
2024-02-06 22:00:02.980 24000-24086 FrameProce...inRegistry com.mrousavy.camera.example I Frame Processor Plugin "example_plugin" found! Initializing...
2024-02-06 22:00:02.981 24000-24086 SharedArray com.mrousavy.camera.example I Wrapping Java ByteBuffer with size 5...
2024-02-06 22:00:02.981 24000-24086 SharedArray com.mrousavy.camera.example I Allocating SharedArray with size 5...
2024-02-06 22:00:02.981 24000-24086 ExamplePlugin com.mrousavy.camera.example D Successfully allocated SharedArray! Size: 5
2024-02-06 22:00:02.981 24000-24086 SharedArray com.mrousavy.camera.example I Wrapping Java ByteBuffer with size 10...
2024-02-06 22:00:02.981 24000-24086 ExamplePlugin com.mrousavy.camera.example D Successfully wrapped SharedArray in ByteBuffer! Size: 10
2024-02-06 22:00:02.981 24000-24086 ExamplePlugin com.mrousavy.camera.example D ExampleFrameProcessorPlugin initialized with options: {}
2024-02-06 22:00:02.981 24000-24086 FrameProce...inRegistry com.mrousavy.camera.example I Looking up Frame Processor Plugin "example_kotlin_swift_plugin"...
2024-02-06 22:00:02.981 24000-24086 FrameProce...inRegistry com.mrousavy.camera.example I Frame Processor Plugin "example_kotlin_swift_plugin" found! Initializing...
2024-02-06 22:00:02.981 24000-24086 ExampleKotlinPlugin com.mrousavy.camera.example D ExampleKotlinFrameProcessorPlugin initialized with options: {foo=bar}
2024-02-06 22:00:03.034 24000-24000 CameraManager com.mrousavy.camera.example I registerAvailabilityCallback: Is device callback = false
2024-02-06 22:00:03.034 24000-24000 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_PRESENT
2024-02-06 22:00:03.034 24000-24000 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_PRESENT
2024-02-06 22:00:03.035 24000-24000 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_PRESENT
2024-02-06 22:00:03.035 24000-24000 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_PRESENT
2024-02-06 22:00:03.036 24000-24000 PreviewView com.mrousavy.camera.example I Creating PreviewView...
2024-02-06 22:00:03.037 24000-24000 PreviewView com.mrousavy.camera.example I PreviewView is 0x0, rendering 1080x1920 content. Resizing to: 0x0 (COVER)
2024-02-06 22:00:03.037 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example D 260833560 updateSurface: has no frame
2024-02-06 22:00:03.040 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example D 260833560 updateSurface: has no frame
2024-02-06 22:00:03.042 24000-24000 CameraView com.mrousavy.camera.example I Updating CameraSession...
2024-02-06 22:00:03.048 24000-24084 CameraSession com.mrousavy.camera.example I configure { ... }: Waiting for lock...
2024-02-06 22:00:03.050 24000-24084 CameraSession com.mrousavy.camera.example I configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=true, outputsChanged=true, sidePropsChanged=true, isActiveChanged=true)
2024-02-06 22:00:03.050 24000-24084 CameraSession com.mrousavy.camera.example I Need to rebuild CameraDevice and CameraCaptureSession...
2024-02-06 22:00:03.050 24000-24084 CameraSession com.mrousavy.camera.example I CameraDevice and CameraCaptureSession is torn down but Camera is not active, skipping update...
2024-02-06 22:00:03.050 24000-24084 CameraSession com.mrousavy.camera.example I Successfully updated CameraSession Configuration! isActive: false
2024-02-06 22:00:03.050 24000-24084 CameraView com.mrousavy.camera.example I invokeOnInitialized()
2024-02-06 22:00:03.084 24000-24087 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.swmansion.rnscreens.ScreensShadowNode
2024-02-06 22:00:03.152 24000-24086 ReactNativeJS com.mrousavy.camera.example I Camera: BACK (0) | Format: (2400x1080 photo / 2400x1080@60 video @ 60fps)
2024-02-06 22:00:03.185 24000-24086 ReactNativeJS com.mrousavy.camera.example I Camera initialized!
2024-02-06 22:00:03.206 24000-24087 Compatibil...geReporter com.mrousavy.camera.example D Compat change id reported: 289878283; UID 10534; state: DISABLED
2024-02-06 22:00:03.218 24000-24000 ReactNative com.mrousavy.camera.example I [GESTURE HANDLER] Initialize gesture handler for root view com.facebook.react.ReactRootView{a9d9db2 V.E...... ......ID 0,0-1080,2256 #b}
2024-02-06 22:00:03.245 24000-24000 CameraView com.mrousavy.camera.example I Updating CameraSession...
2024-02-06 22:00:03.245 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example I onWindowVisibilityChanged(0) true com.mrousavy.camera.core.PreviewView{f8c0118 V.E...... ......I. 0,0-0,0} of ViewRootImpl@7923b8b[MainActivity]
2024-02-06 22:00:03.245 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example D 260833560 updateSurface: has no frame
2024-02-06 22:00:03.245 24000-24084 CameraSession com.mrousavy.camera.example I configure { ... }: Waiting for lock...
2024-02-06 22:00:03.246 24000-24084 CameraSession com.mrousavy.camera.example I configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=true, outputsChanged=true, sidePropsChanged=true, isActiveChanged=true)
2024-02-06 22:00:03.246 24000-24084 CameraSession com.mrousavy.camera.example I Need to rebuild CameraDevice and CameraCaptureSession...
2024-02-06 22:00:03.246 24000-24084 CameraSession com.mrousavy.camera.example I Need to rebuild CameraDevice and CameraCaptureSession...
2024-02-06 22:00:03.246 24000-24084 CameraSession com.mrousavy.camera.example I Configuring Camera #0...
2024-02-06 22:00:03.247 24000-24084 CameraManager com.mrousavy.camera.example I Camera #0: Opening...
2024-02-06 22:00:03.250 24000-24000 PreviewView com.mrousavy.camera.example I PreviewView is 1080x2256, rendering 1080x1920 content. Resizing to: 1269x2256 (COVER)
2024-02-06 22:00:03.250 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example D 260833560 updateSurface: has no frame
2024-02-06 22:00:03.257 24000-24013 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPENING for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 22:00:03.266 24000-24000 BLASTBufferQueue_Java com.mrousavy.camera.example I update, w= 1080 h= 2400 mName = ViewRootImpl@7923b8b[MainActivity] mNativeObject= 0xb400006ea81047d0 sc.mNativeObject= 0xb400006db80fa790 format= -3 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2968 android.view.ViewRootImpl.relayoutWindow:9998 android.view.ViewRootImpl.performTraversals:4056 android.view.ViewRootImpl.doTraversal:3239 android.view.ViewRootImpl$TraversalRunnable.run:11197 android.view.Choreographer$CallbackRecord.run:1650
2024-02-06 22:00:03.266 24000-24000 ViewRootIm...nActivity] com.mrousavy.camera.example I Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)0 dur=1 res=0x0 s={true 0xb400006f181367c0} ch=false seqId=0
2024-02-06 22:00:03.269 24000-24000 SurfaceView com.mrousavy.camera.example I 260833560 Changes: creating=true format=true size=true visible=true alpha=false hint=false visible=true left=true top=true z=false attached=true lifecycleStrategy=false
2024-02-06 22:00:03.277 24000-24000 BLASTBufferQueue_Java com.mrousavy.camera.example I update, w= 1269 h= 2256 mName = null mNativeObject= 0xb400006ea81b2830 sc.mNativeObject= 0xb400006db812c050 format= 4 caller= android.view.SurfaceView.createBlastSurfaceControls:1511 android.view.SurfaceView.updateSurface:1187 android.view.SurfaceView.lambda$new$0:258 android.view.SurfaceView.$r8$lambda$cm3nmzErr-srXoT_KjIYQgdhFN0:0 android.view.SurfaceView$$ExternalSyntheticLambda2.onPreDraw:2 android.view.ViewTreeObserver.dispatchOnPreDraw:1204
2024-02-06 22:00:03.278 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example I 260833560 Cur surface: Surface(name=null)/@0x3724952
2024-02-06 22:00:03.278 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example I pST: sr = Rect(-94, 0 - 1175, 2256) sw = 1269 sh = 2256
2024-02-06 22:00:03.278 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example D 260833560 performSurfaceTransaction RenderWorker position = [-94, 0, 1175, 2256] surfaceSize = 1269x2256
2024-02-06 22:00:03.278 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example I updateSurface: mVisible = true mSurface.isValid() = true
2024-02-06 22:00:03.278 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example I updateSurface: mSurfaceCreated = false surfaceChanged = true visibleChanged = true
2024-02-06 22:00:03.278 24000-24000 SurfaceView com.mrousavy.camera.example I 260833560 visibleChanged -- surfaceCreated
2024-02-06 22:00:03.279 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example I surfaceCreated 1 #8 com.mrousavy.camera.core.PreviewView{f8c0118 V.E...... ......ID -94,0-1175,2256}
2024-02-06 22:00:03.279 24000-24000 CameraSession com.mrousavy.camera.example I PreviewView Surface created! Surface(name=null)/@0x3724952
2024-02-06 22:00:03.279 24000-24000 CameraSession com.mrousavy.camera.example I Setting Preview Output...
2024-02-06 22:00:03.279 24000-24000 SurfaceView com.mrousavy.camera.example I 260833560 surfaceChanged -- format=4 w=1269 h=2256
2024-02-06 22:00:03.279 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example I surfaceChanged (1269,2256) 1 #8 com.mrousavy.camera.core.PreviewView{f8c0118 V.E...... ......ID -94,0-1175,2256}
2024-02-06 22:00:03.279 24000-24000 CameraSession com.mrousavy.camera.example I PreviewView Surface updated! Surface(name=null)/@0x3724952 1269 x 2256
2024-02-06 22:00:03.279 24000-24000 SurfaceView com.mrousavy.camera.example I 260833560 surfaceRedrawNeeded
2024-02-06 22:00:03.280 24000-24000 SurfaceView com.mrousavy.camera.example I 260833560 finishedDrawing
2024-02-06 22:00:03.280 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example V Layout: x=-94 y=0 w=1269 h=2256, frame=Rect(0, 0 - 1269, 2256)
2024-02-06 22:00:03.281 24000-24000 ViewRootIm...nActivity] com.mrousavy.camera.example I registerCallbackForPendingTransactions
2024-02-06 22:00:03.282 24000-24013 Compatibil...geReporter com.mrousavy.camera.example D Compat change id reported: 244358506; UID 10534; state: DISABLED
2024-02-06 22:00:03.285 24000-24013 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_NOT_AVAILABLE
2024-02-06 22:00:03.285 24000-24013 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_NOT_AVAILABLE
2024-02-06 22:00:03.287 24000-24087 CameraDevices com.mrousavy.camera.example I Camera #0 is now unavailable.
2024-02-06 22:00:03.299 24000-24084 CameraSession com.mrousavy.camera.example I configure { ... }: Waiting for lock...
2024-02-06 22:00:03.300 24000-24124 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 User Id 0
2024-02-06 22:00:03.301 24000-24084 CameraManager com.mrousavy.camera.example I Camera #0: Opened!
2024-02-06 22:00:03.314 24000-24045 SurfaceView com.mrousavy.camera.example D 260833560 updateSurfacePosition RenderWorker, frameNr = 2, position = [-94, 0, 1175, 2256] surfaceSize = 1269x2256
2024-02-06 22:00:03.314 24000-24045 SurfaceView@f8c0118 com.mrousavy.camera.example I uSP: rtp = Rect(-94, 0 - 1175, 2256) rtsw = 1269 rtsh = 2256
2024-02-06 22:00:03.314 24000-24045 SurfaceView@f8c0118 com.mrousavy.camera.example I onSSPAndSRT: pl = -94 pt = 0 sx = 1.0 sy = 1.0
2024-02-06 22:00:03.314 24000-24045 SurfaceView@f8c0118 com.mrousavy.camera.example I aOrMT: ViewRootImpl@7923b8b[MainActivity] t = android.view.SurfaceControl$Transaction@7171f7f fN = 2 android.view.SurfaceView.-$$Nest$mapplyOrMergeTransaction:0 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1660 android.graphics.RenderNode$CompositePositionUpdateListener.positionChanged:369
2024-02-06 22:00:03.314 24000-24045 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e6842fb70 mBlastBufferQueue=0xb400006ea81047d0 fn= 2 caller= android.view.SurfaceView.applyOrMergeTransaction:1592 android.view.SurfaceView.-$$Nest$mapplyOrMergeTransaction:0 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1660
2024-02-06 22:00:03.315 24000-24077 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e6812e250 mBlastBufferQueue=0xb400006ea81047d0 fn= 2 caller= android.view.ViewRootImpl$6.onFrameDraw:5539 android.view.ViewRootImpl$2.onFrameDraw:2103 android.view.ThreadedRenderer$1.onFrameDraw:788
2024-02-06 22:00:03.315 24000-24077 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e6842b970 mBlastBufferQueue=0xb400006ea81047d0 fn= 2 caller= android.view.ViewRootImpl$6.onFrameDraw:5539 android.view.ViewRootImpl$2.onFrameDraw:2103 android.view.ThreadedRenderer$1.onFrameDraw:788
2024-02-06 22:00:03.348 24000-24000 ViewRootIm...nActivity] com.mrousavy.camera.example I registerCallbackForPendingTransactions
2024-02-06 22:00:03.352 24000-24000 VisionCameraProxy com.mrousavy.camera.example D Finding view 3...
2024-02-06 22:00:03.352 24000-24000 VisionCameraProxy com.mrousavy.camera.example D Found view 3!
2024-02-06 22:00:03.353 24000-24078 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e68432770 mBlastBufferQueue=0xb400006ea81047d0 fn= 3 caller= android.view.ViewRootImpl$6.onFrameDraw:5539 android.view.ViewRootImpl$2.onFrameDraw:2103 android.view.ThreadedRenderer$1.onFrameDraw:788
2024-02-06 22:00:03.359 24000-24000 BLASTBufferQueue_Java com.mrousavy.camera.example I update, w= 1080 h= 2400 mName = ViewRootImpl@7923b8b[MainActivity] mNativeObject= 0xb400006ea81047d0 sc.mNativeObject= 0xb400006db80fa790 format= -3 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2968 android.view.ViewRootImpl.relayoutWindow:9998 android.view.ViewRootImpl.performTraversals:4056 android.view.ViewRootImpl.doTraversal:3239 android.view.ViewRootImpl$TraversalRunnable.run:11197 android.view.Choreographer$CallbackRecord.run:1650
2024-02-06 22:00:03.359 24000-24000 ViewRootIm...nActivity] com.mrousavy.camera.example I Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)0 dur=0 res=0x0 s={true 0xb400006f181367c0} ch=false seqId=0
2024-02-06 22:00:03.360 24000-24000 ViewRootIm...nActivity] com.mrousavy.camera.example I updateBoundsLayer: t=android.view.SurfaceControl$Transaction@681b0aa sc=Surface(name=Bounds for - com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity@0)/@0x688349b frame=4
2024-02-06 22:00:03.362 24000-24000 ViewRootIm...nActivity] com.mrousavy.camera.example I registerCallbackForPendingTransactions
2024-02-06 22:00:03.364 24000-24084 CameraSession com.mrousavy.camera.example I Successfully configured Camera #0!
2024-02-06 22:00:03.365 24000-24084 CameraSession com.mrousavy.camera.example I Destroying previous outputs...
2024-02-06 22:00:03.366 24000-24077 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e684354d0 mBlastBufferQueue=0xb400006ea81047d0 fn= 4 caller= android.view.ViewRootImpl$6.onFrameDraw:5539 android.view.ViewRootImpl$2.onFrameDraw:2103 android.view.ThreadedRenderer$1.onFrameDraw:788
2024-02-06 22:00:03.368 24000-24084 CameraSession com.mrousavy.camera.example I Creating outputs for Camera #0...
2024-02-06 22:00:03.371 24000-24084 CameraSession com.mrousavy.camera.example I Adding 2400x1080 Photo Output in JPEG...
2024-02-06 22:00:03.371 24000-24084 Compatibil...geReporter com.mrousavy.camera.example D Compat change id reported: 236825255; UID 10534; state: DISABLED
2024-02-06 22:00:03.374 24000-24084 CameraSession com.mrousavy.camera.example I Adding 2400x1080 Video Output in YUV_420_888...
2024-02-06 22:00:03.374 24000-24084 VideoPipeline com.mrousavy.camera.example I Initializing 2400 x 1080 Video Pipeline (format: YUV)
2024-02-06 22:00:03.375 24000-24000 ViewRootIm...nActivity] com.mrousavy.camera.example I registerCallbackForPendingTransactions
2024-02-06 22:00:03.375 24000-24084 VideoPipeline com.mrousavy.camera.example I Using ImageReader round-trip (format: #35) shit!
2024-02-06 22:00:03.375 24000-24084 VideoPipeline com.mrousavy.camera.example I Using API 29 for GPU ImageReader...
2024-02-06 22:00:03.375 24000-24084 VideoPipeline com.mrousavy.camera.example I GPU + CPU HardwareBuffers are supported!
2024-02-06 22:00:03.375 24000-24084 VideoPipeline com.mrousavy.camera.example I Using ImageReader flags: 259
2024-02-06 22:00:03.376 24000-24078 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e68435bb0 mBlastBufferQueue=0xb400006ea81047d0 fn= 5 caller= android.view.ViewRootImpl$6.onFrameDraw:5539 android.view.ViewRootImpl$2.onFrameDraw:2103 android.view.ThreadedRenderer$1.onFrameDraw:788
2024-02-06 22:00:03.381 24000-24084 CreateCaptureSession com.mrousavy.camera.example I Camera #0: Creating Capture Session #1... (Hardware Level: 1 | Outputs: [PHOTO (2400x1080 in JPEG), VIDEO (2400x1080 in YUV)])
2024-02-06 22:00:03.382 24000-24084 CreateCaptureSession com.mrousavy.camera.example I Using new API (>=28)
2024-02-06 22:00:03.487 24000-24084 CreateCaptureSession com.mrousavy.camera.example I Camera #0: Successfully created CameraCaptureSession #1!
2024-02-06 22:00:03.488 24000-24084 CameraSession com.mrousavy.camera.example I Successfully configured Session with 2 outputs for Camera #0!
2024-02-06 22:00:03.488 24000-24084 CameraSession com.mrousavy.camera.example I Updating Video Outputs...
2024-02-06 22:00:03.488 24000-24084 VideoPipeline com.mrousavy.camera.example I Removing RecordingSession Output...
2024-02-06 22:00:03.495 24000-24084 CameraView com.mrousavy.camera.example I invokeOnStarted()
2024-02-06 22:00:03.495 24000-24084 CameraSession com.mrousavy.camera.example I Successfully updated CameraSession Configuration! isActive: true
2024-02-06 22:00:03.495 24000-24084 CameraView com.mrousavy.camera.example I invokeOnInitialized()
2024-02-06 22:00:03.496 24000-24084 CameraSession com.mrousavy.camera.example I configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=false, outputsChanged=true, sidePropsChanged=true, isActiveChanged=false)
2024-02-06 22:00:03.496 24000-24084 CameraSession com.mrousavy.camera.example I Destroying previous outputs...
2024-02-06 22:00:03.496 24000-24086 ReactNativeJS com.mrousavy.camera.example I Camera initialized!
2024-02-06 22:00:03.496 24000-24084 SurfaceOutput com.mrousavy.camera.example I Closing 2400x1080 PHOTO ImageReader..
2024-02-06 22:00:03.496 24000-24084 SurfaceOutput com.mrousavy.camera.example I Closing 2400x1080 Video Pipeline..
2024-02-06 22:00:03.496 24000-24084 CameraView com.mrousavy.camera.example I invokeOnStopped()
2024-02-06 22:00:03.497 24000-24014 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_ACTIVE for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 22:00:03.499 24000-24084 CameraSession com.mrousavy.camera.example I Creating outputs for Camera #0...
2024-02-06 22:00:03.502 24000-24084 CameraSession com.mrousavy.camera.example I Adding 2400x1080 Photo Output in JPEG...
2024-02-06 22:00:03.507 24000-24011 System com.mrousavy.camera.example W A resource failed to call Surface.release.
2024-02-06 22:00:03.510 24000-24084 CameraSession com.mrousavy.camera.example I Adding 2400x1080 Video Output in YUV_420_888...
2024-02-06 22:00:03.510 24000-24084 VideoPipeline com.mrousavy.camera.example I Initializing 2400 x 1080 Video Pipeline (format: YUV)
2024-02-06 22:00:03.510 24000-24084 VideoPipeline com.mrousavy.camera.example I Using ImageReader round-trip (format: #35) shit!
2024-02-06 22:00:03.510 24000-24084 VideoPipeline com.mrousavy.camera.example I Using API 29 for GPU ImageReader...
2024-02-06 22:00:03.511 24000-24084 VideoPipeline com.mrousavy.camera.example I GPU + CPU HardwareBuffers are supported!
2024-02-06 22:00:03.511 24000-24084 VideoPipeline com.mrousavy.camera.example I Using ImageReader flags: 259
2024-02-06 22:00:03.513 24000-24084 CameraSession com.mrousavy.camera.example I Adding 1920x1080 Preview Output...
2024-02-06 22:00:03.514 24000-24000 PreviewView com.mrousavy.camera.example I Setting PreviewView Surface Size to 1269 x 2256...
2024-02-06 22:00:03.514 24000-24000 SurfaceView com.mrousavy.camera.example D 212792397 setFixedSize -1x-1 -> 1920x1080
2024-02-06 22:00:03.524 24000-24000 SurfaceView com.mrousavy.camera.example I 260833560 Changes: creating=false format=false size=true visible=false alpha=false hint=false visible=false left=false top=false z=false attached=true lifecycleStrategy=false
2024-02-06 22:00:03.524 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example I 260833560 Cur surface: Surface(name=null)/@0x3724952
2024-02-06 22:00:03.525 24000-24000 BLASTBufferQueue_Java com.mrousavy.camera.example I update, w= 1920 h= 1080 mName = null mNativeObject= 0xb400006ea81b2830 sc.mNativeObject= 0xb400006db812c050 format= 4 caller= android.view.SurfaceView.setBufferSize:1432 android.view.SurfaceView.performSurfaceTransaction:988 android.view.SurfaceView.updateSurface:1204 android.view.SurfaceView.lambda$new$0:258 android.view.SurfaceView.$r8$lambda$cm3nmzErr-srXoT_KjIYQgdhFN0:0 android.view.SurfaceView$$ExternalSyntheticLambda2.onPreDraw:2
2024-02-06 22:00:03.525 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example I pST: sr = Rect(-94, 0 - 1175, 2256) sw = 1920 sh = 1080
2024-02-06 22:00:03.525 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example D 260833560 performSurfaceTransaction RenderWorker position = [-94, 0, 1175, 2256] surfaceSize = 1920x1080
2024-02-06 22:00:03.525 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example I updateSurface: mVisible = true mSurface.isValid() = true
2024-02-06 22:00:03.525 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example I updateSurface: mSurfaceCreated = true surfaceChanged = false visibleChanged = false
2024-02-06 22:00:03.525 24000-24000 SurfaceView com.mrousavy.camera.example I 260833560 surfaceChanged -- format=4 w=1920 h=1080
2024-02-06 22:00:03.526 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example I surfaceChanged (1920,1080) 1 #8 com.mrousavy.camera.core.PreviewView{f8c0118 V.E...... ......ID -94,0-1175,2256}
2024-02-06 22:00:03.526 24000-24000 CameraSession com.mrousavy.camera.example I PreviewView Surface updated! Surface(name=null)/@0x3724952 1920 x 1080
2024-02-06 22:00:03.526 24000-24000 SurfaceView com.mrousavy.camera.example I 260833560 surfaceRedrawNeeded
2024-02-06 22:00:03.526 24000-24000 SurfaceView com.mrousavy.camera.example I 260833560 finishedDrawing
2024-02-06 22:00:03.526 24000-24000 SurfaceView@f8c0118 com.mrousavy.camera.example V Layout: x=-94 y=0 w=1269 h=2256, frame=Rect(0, 0 - 1920, 1080)
2024-02-06 22:00:03.526 24000-24000 ViewRootIm...nActivity] com.mrousavy.camera.example I registerCallbackForPendingTransactions
2024-02-06 22:00:03.527 24000-24045 SurfaceView com.mrousavy.camera.example D 260833560 updateSurfacePosition RenderWorker, frameNr = 14, position = [-94, 0, 1175, 2256] surfaceSize = 1920x1080
2024-02-06 22:00:03.527 24000-24045 SurfaceView@f8c0118 com.mrousavy.camera.example I uSP: rtp = Rect(-94, 0 - 1175, 2256) rtsw = 1920 rtsh = 1080
2024-02-06 22:00:03.527 24000-24045 SurfaceView@f8c0118 com.mrousavy.camera.example I onSSPAndSRT: pl = -94 pt = 0 sx = 0.6609375 sy = 2.088889
2024-02-06 22:00:03.527 24000-24045 SurfaceView@f8c0118 com.mrousavy.camera.example I aOrMT: ViewRootImpl@7923b8b[MainActivity] t = android.view.SurfaceControl$Transaction@94e9c13 fN = 14 android.view.SurfaceView.-$$Nest$mapplyOrMergeTransaction:0 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1660 android.graphics.RenderNode$CompositePositionUpdateListener.positionChanged:369
2024-02-06 22:00:03.528 24000-24045 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e68436ad0 mBlastBufferQueue=0xb400006ea81047d0 fn= 14 caller= android.view.SurfaceView.applyOrMergeTransaction:1592 android.view.SurfaceView.-$$Nest$mapplyOrMergeTransaction:0 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1660
2024-02-06 22:00:03.528 24000-24077 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e68437470 mBlastBufferQueue=0xb400006ea81047d0 fn= 14 caller= android.view.ViewRootImpl$6.onFrameDraw:5539 android.view.ViewRootImpl$2.onFrameDraw:2103 android.view.ThreadedRenderer$1.onFrameDraw:788
2024-02-06 22:00:03.532 24000-24084 CreateCaptureSession com.mrousavy.camera.example I Camera #0: Creating Capture Session #2... (Hardware Level: 1 | Outputs: [PHOTO (2400x1080 in JPEG), VIDEO (2400x1080 in YUV), PREVIEW (1920 x 1080)])
2024-02-06 22:00:03.533 24000-24084 CreateCaptureSession com.mrousavy.camera.example I Using new API (>=28)
2024-02-06 22:00:03.546 24000-24014 BufferQueueProducer com.mrousavy.camera.example E [ImageReader-2400x1080f23m3-24000-2](id:5dc000000006,api:4,p:16305,c:24000) dequeueBuffer: BufferQueue has been abandoned
2024-02-06 22:00:03.602 24000-24158 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_IDLE for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 22:00:03.650 24000-24158 BpBinder com.mrousavy.camera.example I onLastStrongRef automatically unlinking death recipients:
2024-02-06 22:00:03.650 24000-24014 CameraDevice-JV-0 com.mrousavy.camera.example E Receive capture error on unknown request ID 0
2024-02-06 22:00:03.650 24000-24084 CreateCaptureSession com.mrousavy.camera.example I Camera #0: Successfully created CameraCaptureSession #2!
2024-02-06 22:00:03.652 24000-24084 CameraSession com.mrousavy.camera.example I Successfully configured Session with 3 outputs for Camera #0!
2024-02-06 22:00:03.652 24000-24084 CameraSession com.mrousavy.camera.example I Updating Video Outputs...
2024-02-06 22:00:03.652 24000-24084 VideoPipeline com.mrousavy.camera.example I Removing RecordingSession Output...
2024-02-06 22:00:03.655 24000-24158 BpBinder com.mrousavy.camera.example I onLastStrongRef automatically unlinking death recipients:
2024-02-06 22:00:03.655 24000-24084 CameraView com.mrousavy.camera.example I invokeOnStarted()
2024-02-06 22:00:03.656 24000-24084 CameraSession com.mrousavy.camera.example I Successfully updated CameraSession Configuration! isActive: true
2024-02-06 22:00:03.656 24000-24084 CreateCaptureSession com.mrousavy.camera.example I Camera #0: CameraCaptureSession #1 has been closed.
2024-02-06 22:00:03.658 24000-24124 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_ACTIVE for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 22:00:04.336 24000-24084 CameraManager com.mrousavy.camera.example E Camera #0: Error! 4
2024-02-06 22:00:04.337 24000-24084 CameraView com.mrousavy.camera.example I invokeOnStopped()
2024-02-06 22:00:04.342 24000-24084 CameraSession com.mrousavy.camera.example E Camera #0 has been unexpectedly disconnected!
com.mrousavy.camera.core.CameraDisconnectedError: [session/camera-has-been-disconnected] The given Camera device (id: 0) has been disconnected! Error: UNKNOWN_CAMERA_DEVICE_ERROR
at com.mrousavy.camera.extensions.CameraManager_openCameraKt$openCamera$2$callback$1.onError(CameraManager+openCamera.kt:49)
at android.hardware.camera2.impl.CameraDeviceImpl.notifyError(CameraDeviceImpl.java:1868)
at android.hardware.camera2.impl.CameraDeviceImpl.$r8$lambda$NQ0CW2Syt34AhsPV0Gf6rH1V5xU(Unknown Source:0)
at android.hardware.camera2.impl.CameraDeviceImpl$$ExternalSyntheticLambda0.accept(Unknown Source:8)
at com.android.internal.util.function.pooled.PooledLambdaImpl.doInvoke(PooledLambdaImpl.java:281)
at com.android.internal.util.function.pooled.PooledLambdaImpl.invoke(PooledLambdaImpl.java:204)
at com.android.internal.util.function.pooled.OmniFunction.run(OmniFunction.java:87)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.os.HandlerThread.run(HandlerThread.java:67)
2024-02-06 22:00:04.342 24000-24084 CameraView com.mrousavy.camera.example E invokeOnError(...):
2024-02-06 22:00:04.342 24000-24084 System.err com.mrousavy.camera.example W com.mrousavy.camera.core.CameraDisconnectedError: [session/camera-has-been-disconnected] The given Camera device (id: 0) has been disconnected! Error: UNKNOWN_CAMERA_DEVICE_ERROR
2024-02-06 22:00:04.342 24000-24084 System.err com.mrousavy.camera.example W at com.mrousavy.camera.extensions.CameraManager_openCameraKt$openCamera$2$callback$1.onError(CameraManager+openCamera.kt:49)
2024-02-06 22:00:04.343 24000-24084 System.err com.mrousavy.camera.example W at android.hardware.camera2.impl.CameraDeviceImpl.notifyError(CameraDeviceImpl.java:1868)
2024-02-06 22:00:04.343 24000-24084 System.err com.mrousavy.camera.example W at android.hardware.camera2.impl.CameraDeviceImpl.$r8$lambda$NQ0CW2Syt34AhsPV0Gf6rH1V5xU(Unknown Source:0)
2024-02-06 22:00:04.343 24000-24084 System.err com.mrousavy.camera.example W at android.hardware.camera2.impl.CameraDeviceImpl$$ExternalSyntheticLambda0.accept(Unknown Source:8)
2024-02-06 22:00:04.343 24000-24084 System.err com.mrousavy.camera.example W at com.android.internal.util.function.pooled.PooledLambdaImpl.doInvoke(PooledLambdaImpl.java:281)
2024-02-06 22:00:04.343 24000-24084 System.err com.mrousavy.camera.example W at com.android.internal.util.function.pooled.PooledLambdaImpl.invoke(PooledLambdaImpl.java:204)
2024-02-06 22:00:04.343 24000-24084 System.err com.mrousavy.camera.example W at com.android.internal.util.function.pooled.OmniFunction.run(OmniFunction.java:87)
2024-02-06 22:00:04.343 24000-24084 System.err com.mrousavy.camera.example W at android.os.Handler.handleCallback(Handler.java:958)
2024-02-06 22:00:04.343 24000-24084 System.err com.mrousavy.camera.example W at android.os.Handler.dispatchMessage(Handler.java:99)
2024-02-06 22:00:04.343 24000-24084 System.err com.mrousavy.camera.example W at android.os.Looper.loopOnce(Looper.java:230)
2024-02-06 22:00:04.343 24000-24084 System.err com.mrousavy.camera.example W at android.os.Looper.loop(Looper.java:319)
2024-02-06 22:00:04.343 24000-24084 System.err com.mrousavy.camera.example W at android.os.HandlerThread.run(HandlerThread.java:67)
2024-02-06 22:00:04.363 24000-24086 ReactNativeJS com.mrousavy.camera.example E { [session/camera-has-been-disconnected: [session/camera-has-been-disconnected] The given Camera device (id: 0) has been disconnected! Error: UNKNOWN_CAMERA_DEVICE_ERROR]
name: 'session/camera-has-been-disconnected',
_code: 'session/camera-has-been-disconnected',
_message: '[session/camera-has-been-disconnected] The given Camera device (id: 0) has been disconnected! Error: UNKNOWN_CAMERA_DEVICE_ERROR',
_cause: undefined }
2024-02-06 22:00:04.435 24000-24226 TrafficStats com.mrousavy.camera.example D tagSocket(6) with statsTag=0xffffffff, statsUid=-1
2024-02-06 22:00:04.634 24000-24014 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 User Id 0
2024-02-06 22:00:04.635 24000-24014 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_NOT_PRESENT
2024-02-06 22:00:04.635 24000-24087 CameraDevices com.mrousavy.camera.example I Camera #1 is now unavailable.
2024-02-06 22:00:04.635 24000-24014 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_NOT_PRESENT
2024-02-06 22:00:04.642 24000-24014 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_NOT_PRESENT
2024-02-06 22:00:04.643 24000-24014 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_NOT_PRESENT
2024-02-06 22:00:04.646 24000-24158 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_NOT_PRESENT
2024-02-06 22:00:04.647 24000-24158 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_NOT_PRESENT
2024-02-06 22:00:04.647 24000-24087 AndroidRuntime com.mrousavy.camera.example E FATAL EXCEPTION: mqt_native_modules
Process: com.mrousavy.camera.example, PID: 24000
java.lang.IllegalArgumentException: getCameraCharacteristics:1123: Unable to retrieve camera characteristics for unknown device 3: No such file or directory (-2)
at android.hardware.camera2.CameraManager.throwAsPublicException(CameraManager.java:2014)
at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:863)
at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:781)
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:2851)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228)
at java.lang.Thread.run(Thread.java:1012)
Caused by: android.os.ServiceSpecificException: getCameraCharacteristics:1123: Unable to retrieve camera characteristics for unknown device 3: No such file or directory (-2) (code 3)
at android.os.Parcel.createExceptionOrNull(Parcel.java:3083)
at android.os.Parcel.createException(Parcel.java:3053)
at android.os.Parcel.readException(Parcel.java:3036)
at android.os.Parcel.readException(Parcel.java:2978)
at android.hardware.ICameraService$Stub$Proxy.getCameraCharacteristics(ICameraService.java:996)
at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:842)
at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:781) 
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:2851) 
at android.os.Handler.handleCallback(Handler.java:958) 
at android.os.Handler.dispatchMessage(Handler.java:99) 
at android.os.Looper.loopOnce(Looper.java:230) 
at android.os.Looper.loop(Looper.java:319) 
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228) 
at java.lang.Thread.run(Thread.java:1012) 
---------------------------- PROCESS ENDED (24000) for package com.mrousavy.camera.example ----------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment