When both frameProcessor and codeScanner props are used I get an error on my Pixel 6 Pro. When one of the two props are disabled it works.
On iOS it works. I did add VisionCamera_enableCodeScanner=true to android/build.gradle
ERROR Camera.onError(unknown/unknown): [unknown/unknown] CAMERA_ERROR (3): endConfigure:664: Camera 0: Error configuring streams: Broken pipe (-32) [unknown/unknown: [unknown/unknown] CAMERA_ERROR (3): endConfigure:664: Camera 0: Error configuring streams: Broken pipe (-32)]
ERROR Camera.onError(session/camera-has-been-disconnected): [session/camera-has-been-disconnected] The given Camera device (id: 0) has been disconnected! Error: UNKNOWN_CAMERA_DEVICE_ERROR [session/camera-has-been-disconnected: [session/camera-has-been-disconnected] The given Camera device (id: 0) has been disconnected! Error: UNKNOWN_CAMERA_DEVICE_ERROR]
LOG undefined
2024-01-17 16:12:37.395 8908-9055 CameraDevices com.visioncameraandroidbugtest I Camera #1 is now available.
2024-01-17 16:12:37.403 8908-9055 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy package: com.google.android.apps.camera.services
2024-01-17 16:12:37.403 8908-9055 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy service: com.google.android.apps.camera.services.extensions.service.PixelExtensions
2024-01-17 16:12:37.419 8908-8967 TrafficStats com.visioncameraandroidbugtest D tagSocket(125) with statsTag=0xffffffff, statsUid=-1
2024-01-17 16:12:37.426 8908-9512 TrafficStats com.visioncameraandroidbugtest D tagSocket(125) with statsTag=0x90000, statsUid=-1
2024-01-17 16:12:37.434 8908-9055 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy package: com.google.android.apps.camera.services
2024-01-17 16:12:37.434 8908-9055 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy service: com.google.android.apps.camera.services.extensions.service.PixelExtensions
2024-01-17 16:12:37.457 8908-9055 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy package: com.google.android.apps.camera.services
2024-01-17 16:12:37.457 8908-9055 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy service: com.google.android.apps.camera.services.extensions.service.PixelExtensions
2024-01-17 16:12:37.605 8908-9055 CameraDevices com.visioncameraandroidbugtest I Camera #0 is now available.
2024-01-17 16:12:38.581 8908-9054 ReactNativeJNI com.visioncameraandroidbugtest I Memory warning (pressure level: TRIM_MEMORY_UI_HIDDEN) received by JS VM, ignoring because it's non-severe
2024-01-17 16:12:38.583 8908-9054 ReactNativeJNI com.visioncameraandroidbugtest I Memory warning (pressure level: TRIM_MEMORY_BACKGROUND) received by JS VM, running a GC
2024-01-17 16:12:38.602 8908-8908 WindowOnBackDispatcher com.visioncameraandroidbugtest W sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@e789340
---------------------------- PROCESS ENDED (8908) for package com.visioncameraandroidbugtest ----------------------------
---------------------------- PROCESS STARTED (9538) for package com.visioncameraandroidbugtest ----------------------------
2024-01-17 16:12:39.196 9538-9538 Compatibil...geReporter com.visioncameraandroidbugtest D Compat change id reported: 171979766; UID 10310; state: ENABLED
2024-01-17 16:12:39.196 9538-9538 Compatibil...geReporter com.visioncameraandroidbugtest D Compat change id reported: 242716250; UID 10310; state: ENABLED
2024-01-17 16:12:39.212 9538-9538 ziparchive com.visioncameraandroidbugtest W Unable to open '/data/app/~~1MgdRx_kUjg9aZxJC2M2hw==/com.visioncameraandroidbugtest-RcCrQkjvX3uTgNxjK9jyow==/base.dm': No such file or directory
2024-01-17 16:12:39.212 9538-9538 ziparchive com.visioncameraandroidbugtest W Unable to open '/data/app/~~1MgdRx_kUjg9aZxJC2M2hw==/com.visioncameraandroidbugtest-RcCrQkjvX3uTgNxjK9jyow==/base.dm': No such file or directory
2024-01-17 16:12:39.312 9538-9538 nativeloader com.visioncameraandroidbugtest D Configuring clns-4 for other apk /data/app/~~1MgdRx_kUjg9aZxJC2M2hw==/com.visioncameraandroidbugtest-RcCrQkjvX3uTgNxjK9jyow==/base.apk. target_sdk_version=34, uses_libraries=, library_path=/data/app/~~1MgdRx_kUjg9aZxJC2M2hw==/com.visioncameraandroidbugtest-RcCrQkjvX3uTgNxjK9jyow==/lib/arm64:/data/app/~~1MgdRx_kUjg9aZxJC2M2hw==/com.visioncameraandroidbugtest-RcCrQkjvX3uTgNxjK9jyow==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.visioncameraandroidbugtest
2024-01-17 16:12:39.326 9538-9538 GraphicsEnvironment com.visioncameraandroidbugtest V Currently set values for:
2024-01-17 16:12:39.326 9538-9538 GraphicsEnvironment com.visioncameraandroidbugtest V angle_gl_driver_selection_pkgs=[]
2024-01-17 16:12:39.326 9538-9538 GraphicsEnvironment com.visioncameraandroidbugtest V angle_gl_driver_selection_values=[]
2024-01-17 16:12:39.326 9538-9538 GraphicsEnvironment com.visioncameraandroidbugtest V ANGLE GameManagerService for com.visioncameraandroidbugtest: false
2024-01-17 16:12:39.326 9538-9538 GraphicsEnvironment com.visioncameraandroidbugtest V com.visioncameraandroidbugtest is not listed in per-application setting
2024-01-17 16:12:39.326 9538-9538 GraphicsEnvironment com.visioncameraandroidbugtest V Neither updatable production driver nor prerelease driver is supported.
2024-01-17 16:12:39.342 9538-9538 SoLoader com.visioncameraandroidbugtest V Init System Loader delegate
2024-01-17 16:12:39.410 9538-9630 TrafficStats com.visioncameraandroidbugtest D tagSocket(86) with statsTag=0xffffffff, statsUid=-1
2024-01-17 16:12:39.417 9538-9538 aandroidbugtest com.visioncameraandroidbugtest W Accessing hidden field Landroid/view/View;->mKeyedTags:Landroid/util/SparseArray; (unsupported, reflection, allowed)
2024-01-17 16:12:39.417 9538-9538 aandroidbugtest com.visioncameraandroidbugtest W Accessing hidden field Landroid/view/View;->mListenerInfo:Landroid/view/View$ListenerInfo; (unsupported, reflection, allowed)
2024-01-17 16:12:39.417 9538-9538 aandroidbugtest com.visioncameraandroidbugtest W Accessing hidden field Landroid/view/View$ListenerInfo;->mOnClickListener:Landroid/view/View$OnClickListener; (unsupported, reflection, allowed)
2024-01-17 16:12:39.419 9538-9538 flipper com.visioncameraandroidbugtest I flipper: FlipperClient::addPlugin Inspector
2024-01-17 16:12:39.420 9538-9538 flipper com.visioncameraandroidbugtest I flipper: FlipperClient::addPlugin Databases
2024-01-17 16:12:39.420 9538-9648 TrafficStats com.visioncameraandroidbugtest D tagSocket(87) with statsTag=0xffffffff, statsUid=-1
2024-01-17 16:12:39.421 9538-9538 flipper com.visioncameraandroidbugtest I flipper: FlipperClient::addPlugin Preferences
2024-01-17 16:12:39.421 9538-9538 flipper com.visioncameraandroidbugtest I flipper: FlipperClient::addPlugin CrashReporter
2024-01-17 16:12:39.421 9538-9648 unknown:In...Connection com.visioncameraandroidbugtest W Couldn't connect to packager, will silently retry
2024-01-17 16:12:39.422 9538-9538 flipper com.visioncameraandroidbugtest I flipper: FlipperClient::addPlugin Network
2024-01-17 16:12:39.429 9538-9623 System.err com.visioncameraandroidbugtest W SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
2024-01-17 16:12:39.429 9538-9623 System.err com.visioncameraandroidbugtest W SLF4J: Defaulting to no-operation (NOP) logger implementation
2024-01-17 16:12:39.429 9538-9623 System.err com.visioncameraandroidbugtest W SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2024-01-17 16:12:39.431 9538-9666 TrafficStats com.visioncameraandroidbugtest D tagSocket(91) with statsTag=0x90000, statsUid=-1
2024-01-17 16:12:39.433 9538-9667 vulkan com.visioncameraandroidbugtest D searching for layers in '/data/app/~~1MgdRx_kUjg9aZxJC2M2hw==/com.visioncameraandroidbugtest-RcCrQkjvX3uTgNxjK9jyow==/lib/arm64'
2024-01-17 16:12:39.434 9538-9667 vulkan com.visioncameraandroidbugtest D searching for layers in '/data/app/~~1MgdRx_kUjg9aZxJC2M2hw==/com.visioncameraandroidbugtest-RcCrQkjvX3uTgNxjK9jyow==/base.apk!/lib/arm64-v8a'
2024-01-17 16:12:39.434 9538-9667 DMABUFHEAPS com.visioncameraandroidbugtest I Using DMA-BUF heap named: vframe-secure
2024-01-17 16:12:39.455 9538-9538 AppCompatDelegate com.visioncameraandroidbugtest D Checking for metadata for AppLocalesMetadataHolderService : Service not found
2024-01-17 16:12:39.478 9538-9680 TrafficStats com.visioncameraandroidbugtest D tagSocket(107) with statsTag=0xffffffff, statsUid=-1
2024-01-17 16:12:39.487 9538-9538 aandroidbugtest com.visioncameraandroidbugtest W Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed)
2024-01-17 16:12:39.487 9538-9538 aandroidbugtest com.visioncameraandroidbugtest W Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed)
2024-01-17 16:12:39.496 9538-9538 Compatibil...geReporter com.visioncameraandroidbugtest D Compat change id reported: 237531167; UID 10310; state: DISABLED
2024-01-17 16:12:39.507 9538-9538 unknown:ReactNative com.visioncameraandroidbugtest W Packager connection already open, nooping.
2024-01-17 16:12:39.524 9538-9538 Compatibil...geReporter com.visioncameraandroidbugtest D Compat change id reported: 210923482; UID 10310; state: ENABLED
2024-01-17 16:12:39.823 9538-9538 WindowOnBackDispatcher com.visioncameraandroidbugtest W sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@5774c70
2024-01-17 16:12:39.857 9538-9700 CameraManagerGlobal com.visioncameraandroidbugtest I Connecting to camera service
2024-01-17 16:12:39.886 9538-9538 unknown:ReactNative com.visioncameraandroidbugtest W Packager connection already open, nooping.
2024-01-17 16:12:39.912 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.traceupdateoverlay.TraceUpdateOverlayManager
2024-01-17 16:12:39.916 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.uimanager.LayoutShadowNode
2024-01-17 16:12:39.919 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.drawer.ReactDrawerLayoutManager
2024-01-17 16:12:39.921 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollViewManager
2024-01-17 16:12:39.924 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollContainerViewManager
2024-01-17 16:12:39.925 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.progressbar.ReactProgressBarViewManager
2024-01-17 16:12:39.926 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.progressbar.ProgressBarShadowNode
2024-01-17 16:12:39.927 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.scroll.ReactScrollViewManager
2024-01-17 16:12:39.930 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager
2024-01-17 16:12:39.932 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager$ReactSwitchShadowNode
2024-01-17 16:12:39.933 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.swiperefresh.SwipeRefreshLayoutManager
2024-01-17 16:12:39.934 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageViewManager
2024-01-17 16:12:39.934 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageShadowNode
2024-01-17 16:12:39.935 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.image.ReactImageManager
2024-01-17 16:12:39.937 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.modal.ReactModalHostManager
2024-01-17 16:12:39.938 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.modal.ModalHostShadowNode
2024-01-17 16:12:39.939 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.text.ReactRawTextManager
2024-01-17 16:12:39.939 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.text.ReactRawTextShadowNode
2024-01-17 16:12:39.939 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputManager
2024-01-17 16:12:39.943 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputShadowNode
2024-01-17 16:12:39.945 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.text.ReactTextViewManager
2024-01-17 16:12:39.947 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.text.ReactTextShadowNode
2024-01-17 16:12:39.947 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.view.ReactViewManager
2024-01-17 16:12:39.950 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextViewManager
2024-01-17 16:12:39.951 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextShadowNode
2024-01-17 16:12:39.952 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.facebook.react.views.unimplementedview.ReactUnimplementedViewManager
2024-01-17 16:12:39.952 9538-9714 unknown:Vi...rtyUpdater com.visioncameraandroidbugtest W Could not find generated setter for class com.mrousavy.camera.CameraViewManager
2024-01-17 16:12:39.978 9538-9714 flipper com.visioncameraandroidbugtest I flipper: FlipperClient::addPlugin Fresco
2024-01-17 16:12:39.978 9538-9714 CameraDevices com.visioncameraandroidbugtest I Camera #0 is now available.
2024-01-17 16:12:39.978 9538-9714 CameraDevices com.visioncameraandroidbugtest I Camera #1 is now available.
2024-01-17 16:12:40.048 9538-9714 ziparchive com.visioncameraandroidbugtest W Unable to open '/data/app/~~QSzvmFK0-pKQSkRsiguzRQ==/com.google.android.trichromelibrary_609921033-J0Nm8M3fNgDQHfhCq5iAlw==/base.dm': No such file or directory
2024-01-17 16:12:40.048 9538-9714 ziparchive com.visioncameraandroidbugtest W Unable to open '/data/app/~~QSzvmFK0-pKQSkRsiguzRQ==/com.google.android.trichromelibrary_609921033-J0Nm8M3fNgDQHfhCq5iAlw==/base.dm': No such file or directory
2024-01-17 16:12:40.049 9538-9714 aandroidbugtest com.visioncameraandroidbugtest W Entry not found
2024-01-17 16:12:40.051 9538-9714 nativeloader com.visioncameraandroidbugtest D Configuring clns-5 for other apk /data/app/~~QSzvmFK0-pKQSkRsiguzRQ==/com.google.android.trichromelibrary_609921033-J0Nm8M3fNgDQHfhCq5iAlw==/base.apk. target_sdk_version=34, uses_libraries=ALL, library_path=/data/app/~~VElDsW4j7C3E_kaNIcDPEA==/com.google.android.webview-64CTlmEx1kPCPk7UmGIiBw==/lib/arm64:/data/app/~~VElDsW4j7C3E_kaNIcDPEA==/com.google.android.webview-64CTlmEx1kPCPk7UmGIiBw==/base.apk!/lib/arm64-v8a:/data/app/~~QSzvmFK0-pKQSkRsiguzRQ==/com.google.android.trichromelibrary_609921033-J0Nm8M3fNgDQHfhCq5iAlw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand
2024-01-17 16:12:40.051 9538-9714 nativeloader com.visioncameraandroidbugtest D Extending system_exposed_libraries: libedgetpu_dba.google.so
2024-01-17 16:12:40.055 9538-9714 nativeloader com.visioncameraandroidbugtest D Configuring clns-6 for other apk /data/app/~~VElDsW4j7C3E_kaNIcDPEA==/com.google.android.webview-64CTlmEx1kPCPk7UmGIiBw==/base.apk. target_sdk_version=34, uses_libraries=, library_path=/data/app/~~VElDsW4j7C3E_kaNIcDPEA==/com.google.android.webview-64CTlmEx1kPCPk7UmGIiBw==/lib/arm64:/data/app/~~VElDsW4j7C3E_kaNIcDPEA==/com.google.android.webview-64CTlmEx1kPCPk7UmGIiBw==/base.apk!/lib/arm64-v8a:/data/app/~~QSzvmFK0-pKQSkRsiguzRQ==/com.google.android.trichromelibrary_609921033-J0Nm8M3fNgDQHfhCq5iAlw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand
2024-01-17 16:12:40.065 9538-9714 WebViewFactory com.visioncameraandroidbugtest I Loading com.google.android.webview version 120.0.6099.210 (code 609921033)
2024-01-17 16:12:40.078 9538-9714 cr_WVCFactoryProvider com.visioncameraandroidbugtest I Loaded version=120.0.6099.210 minSdkVersion=29 isBundle=true multiprocess=true packageId=2
2024-01-17 16:12:40.089 9538-9725 chromium com.visioncameraandroidbugtest E [0117/161240.089635:ERROR:variations_seed_loader.cc(69)] Failed to open file for reading. Errno: 2
2024-01-17 16:12:40.097 9538-9714 cr_LibraryLoader com.visioncameraandroidbugtest I Successfully loaded native library
2024-01-17 16:12:40.098 9538-9714 cr_CachingUmaRecorder com.visioncameraandroidbugtest I Flushed 7 samples from 7 histograms, 0 samples were dropped.
2024-01-17 16:12:40.112 9538-9733 TrafficStats com.visioncameraandroidbugtest D tagSocket(147) with statsTag=0xffffffff, statsUid=-1
2024-01-17 16:12:40.139 9538-9701 ReactNativeJS com.visioncameraandroidbugtest I Running "VisionCameraAndroidBugTest" with {"rootTag":11}
2024-01-17 16:12:40.150 9538-9734 TrafficStats com.visioncameraandroidbugtest D tagSocket(147) with statsTag=0xffffffff, statsUid=-1
2024-01-17 16:12:40.270 9538-9701 ReactNativeJS com.visioncameraandroidbugtest I Loading react-native-worklets-core...
2024-01-17 16:12:40.273 9538-9701 ReactNativeJS com.visioncameraandroidbugtest I Worklets loaded successfully
2024-01-17 16:12:40.278 9538-9701 VisionCameraProxy com.visioncameraandroidbugtest I Initializing VisionCameraProxy...
2024-01-17 16:12:40.278 9538-9701 VisionCameraProxy com.visioncameraandroidbugtest I Creating Worklet Context...
2024-01-17 16:12:40.280 9538-9701 VisionCameraProxy com.visioncameraandroidbugtest I Worklet Context created!
2024-01-17 16:12:40.295 9538-9701 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy package: com.google.android.apps.camera.services
2024-01-17 16:12:40.295 9538-9701 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy service: com.google.android.apps.camera.services.extensions.service.PixelExtensions
2024-01-17 16:12:40.312 9538-9701 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy package: com.google.android.apps.camera.services
2024-01-17 16:12:40.312 9538-9701 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy service: com.google.android.apps.camera.services.extensions.service.PixelExtensions
2024-01-17 16:12:40.328 9538-9701 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy package: com.google.android.apps.camera.services
2024-01-17 16:12:40.328 9538-9701 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy service: com.google.android.apps.camera.services.extensions.service.PixelExtensions
2024-01-17 16:12:40.346 9538-9701 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy package: com.google.android.apps.camera.services
2024-01-17 16:12:40.346 9538-9701 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy service: com.google.android.apps.camera.services.extensions.service.PixelExtensions
2024-01-17 16:12:40.367 9538-9701 Compatibil...geReporter com.visioncameraandroidbugtest D Compat change id reported: 206033068; UID 10310; state: ENABLED
2024-01-17 16:12:40.448 9538-9701 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy package: com.google.android.apps.camera.services
2024-01-17 16:12:40.448 9538-9701 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy service: com.google.android.apps.camera.services.extensions.service.PixelExtensions
2024-01-17 16:12:40.466 9538-9701 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy package: com.google.android.apps.camera.services
2024-01-17 16:12:40.466 9538-9701 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy service: com.google.android.apps.camera.services.extensions.service.PixelExtensions
2024-01-17 16:12:40.485 9538-9701 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy package: com.google.android.apps.camera.services
2024-01-17 16:12:40.485 9538-9701 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy service: com.google.android.apps.camera.services.extensions.service.PixelExtensions
2024-01-17 16:12:40.830 9538-9538 PreviewView com.visioncameraandroidbugtest I Creating PreviewView...
2024-01-17 16:12:40.832 9538-9538 PreviewView com.visioncameraandroidbugtest I PreviewView is 0x0, rendering 1080x1920 content. Resizing to: 0x0 (COVER)
2024-01-17 16:12:40.841 9538-9701 ReactNativeJS com.visioncameraandroidbugtest I {
"formats": [],
"sensorOrientation": "landscape-right",
"hardwareLevel": "full",
"maxZoom": 20,
"minZoom": 0.6704425811767578,
"maxExposure": 24,
"supportsLowLightBoost": true,
"neutralZoom": 1,
"physicalDevices": [
"wide-angle-camera",
"ultra-wide-angle-camera",
"telephoto-camera"
],
"supportsFocus": true,
"supportsRawCapture": true,
"isMultiCam": true,
"minFocusDistance": 10.500000100135805,
"minExposure": -24,
"name": "BACK (0)",
"hasFlash": true,
"hasTorch": true,
"position": "back",
"id": "0"
}
2024-01-17 16:12:40.841 9538-9538 CameraView com.visioncameraandroidbugtest I Updating CameraSession...
2024-01-17 16:12:40.848 9538-9753 CameraSession com.visioncameraandroidbugtest I configure { ... }: Waiting for lock...
2024-01-17 16:12:40.849 9538-9753 CameraSession com.visioncameraandroidbugtest I configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=true, outputsChanged=true, sidePropsChanged=true, isActiveChanged=true)
2024-01-17 16:12:40.850 9538-9753 CameraSession com.visioncameraandroidbugtest I Need to rebuild CameraDevice and CameraCaptureSession...
2024-01-17 16:12:40.850 9538-9753 CameraSession com.visioncameraandroidbugtest I CameraDevice and CameraCaptureSession is torn down but Camera is not active, skipping update...
2024-01-17 16:12:40.850 9538-9753 CameraSession com.visioncameraandroidbugtest I Successfully updated CameraSession Configuration! isActive: false
2024-01-17 16:12:40.850 9538-9753 CameraView com.visioncameraandroidbugtest I invokeOnInitialized()
2024-01-17 16:12:40.852 9538-9714 Compatibil...geReporter com.visioncameraandroidbugtest D Compat change id reported: 289878283; UID 10310; state: ENABLED
2024-01-17 16:12:40.856 9538-9538 CameraView com.visioncameraandroidbugtest I Updating CameraSession...
2024-01-17 16:12:40.856 9538-9753 CameraSession com.visioncameraandroidbugtest I configure { ... }: Waiting for lock...
2024-01-17 16:12:40.857 9538-9753 CameraSession com.visioncameraandroidbugtest I configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=true, outputsChanged=true, sidePropsChanged=true, isActiveChanged=true)
2024-01-17 16:12:40.857 9538-9753 CameraSession com.visioncameraandroidbugtest I Need to rebuild CameraDevice and CameraCaptureSession...
2024-01-17 16:12:40.857 9538-9753 CameraSession com.visioncameraandroidbugtest I Need to rebuild CameraDevice and CameraCaptureSession...
2024-01-17 16:12:40.857 9538-9753 CameraSession com.visioncameraandroidbugtest I Configuring Camera #0...
2024-01-17 16:12:40.858 9538-9538 PreviewView com.visioncameraandroidbugtest I PreviewView is 1440x2891, rendering 1080x1920 content. Resizing to: 1626x2891 (COVER)
2024-01-17 16:12:40.861 9538-9753 CameraManager com.visioncameraandroidbugtest I Camera #0: Opening...
2024-01-17 16:12:40.861 9538-9538 CameraSession com.visioncameraandroidbugtest I PreviewView Surface created! Surface(name=null)/@0x23844bc
2024-01-17 16:12:40.861 9538-9538 CameraSession com.visioncameraandroidbugtest I Setting Preview Output...
2024-01-17 16:12:40.861 9538-9538 CameraSession com.visioncameraandroidbugtest I PreviewView Surface updated! Surface(name=null)/@0x23844bc 1626 x 2891
2024-01-17 16:12:40.870 9538-9538 VisionCameraProxy com.visioncameraandroidbugtest D Finding view 3...
2024-01-17 16:12:40.870 9538-9538 VisionCameraProxy com.visioncameraandroidbugtest D Found view 3!
2024-01-17 16:12:40.890 9538-9714 CameraDevices com.visioncameraandroidbugtest I Camera #0 is now unavailable.
2024-01-17 16:12:40.892 9538-9753 CameraSession com.visioncameraandroidbugtest I configure { ... }: Waiting for lock...
2024-01-17 16:12:40.892 9538-9753 CameraManager com.visioncameraandroidbugtest I Camera #0: Opened!
2024-01-17 16:12:40.896 9538-9753 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy package: com.google.android.apps.camera.services
2024-01-17 16:12:40.896 9538-9753 CameraExte...agerGlobal com.visioncameraandroidbugtest V Choosing the vendor camera extensions proxy service: com.google.android.apps.camera.services.extensions.service.PixelExtensions
2024-01-17 16:12:40.908 9538-9753 CameraSession com.visioncameraandroidbugtest I Successfully configured Camera #0!
2024-01-17 16:12:40.908 9538-9753 CameraSession com.visioncameraandroidbugtest I Destroying previous outputs...
2024-01-17 16:12:40.910 9538-9753 CameraSession com.visioncameraandroidbugtest I Creating outputs for Camera #0...
2024-01-17 16:12:40.914 9538-9753 CameraSession com.visioncameraandroidbugtest I Adding 3840x2160 Video Output in PRIVATE...
2024-01-17 16:12:40.915 9538-9753 VideoPipeline com.visioncameraandroidbugtest I Initializing 3840 x 2160 Video Pipeline (format: NATIVE)
2024-01-17 16:12:40.915 9538-9753 VideoPipeline com.visioncameraandroidbugtest I Using ImageReader round-trip (format: #34)
2024-01-17 16:12:40.915 9538-9753 VideoPipeline com.visioncameraandroidbugtest I Using API 29 for GPU ImageReader...
2024-01-17 16:12:40.916 9538-9753 Compatibil...geReporter com.visioncameraandroidbugtest D Compat change id reported: 236825255; UID 10310; state: ENABLED
2024-01-17 16:12:40.921 9538-9753 CameraSession com.visioncameraandroidbugtest I Adding 1280x720 CodeScanner Output in YUV_420_888...
2024-01-17 16:12:40.945 9538-9831 DynamiteModule com.visioncameraandroidbugtest I Considering local module com.google.mlkit.dynamite.barcode:10000 and remote module com.google.mlkit.dynamite.barcode:0
2024-01-17 16:12:40.945 9538-9831 DynamiteModule com.visioncameraandroidbugtest I Selected local version of com.google.mlkit.dynamite.barcode
2024-01-17 16:12:40.950 9538-9825 TransportR...oScheduler com.visioncameraandroidbugtest D Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
2024-01-17 16:12:40.952 9538-9825 TransportR...oScheduler com.visioncameraandroidbugtest D Upload for context TransportContext(cct, VERY_LOW, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
2024-01-17 16:12:40.960 9538-9753 CreateCaptureSession com.visioncameraandroidbugtest I Camera #0: Creating Capture Session #1... (Hardware Level: 1 | Outputs: [VIDEO (3840x2160 in NATIVE), VIDEO (1280 x 720 CodeScanner for [QR, AZTEC] (35))])
2024-01-17 16:12:40.961 9538-9753 SurfaceOutput com.visioncameraandroidbugtest I Using optimized stream use case 3 for VIDEO output.
2024-01-17 16:12:40.961 9538-9753 SurfaceOutput com.visioncameraandroidbugtest I Using optimized stream use case 3 for VIDEO output.
2024-01-17 16:12:40.961 9538-9753 CreateCaptureSession com.visioncameraandroidbugtest I Using new API (>=28)
2024-01-17 16:12:41.026 9538-9825 TransportR...EventStore com.visioncameraandroidbugtest D Storing event with priority=VERY_LOW, name=FIREBASE_ML_SDK for destination cct
2024-01-17 16:12:41.032 9538-9825 TransportR...oScheduler com.visioncameraandroidbugtest D Upload for context TransportContext(cct, VERY_LOW, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
2024-01-17 16:12:41.034 9538-9825 TransportR...EventStore com.visioncameraandroidbugtest D Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct
2024-01-17 16:12:41.039 9538-9753 CreateCaptureSession com.visioncameraandroidbugtest I Camera #0: Successfully created CameraCaptureSession #1!
2024-01-17 16:12:41.039 9538-9753 CameraSession com.visioncameraandroidbugtest I Successfully configured Session with 2 outputs for Camera #0!
2024-01-17 16:12:41.039 9538-9753 CameraSession com.visioncameraandroidbugtest I Updating Video Outputs...
2024-01-17 16:12:41.039 9538-9753 VideoPipeline com.visioncameraandroidbugtest I Setting 3840 x 2160 FrameProcessor Output...
2024-01-17 16:12:41.039 9538-9753 VideoPipeline com.visioncameraandroidbugtest I Removing RecordingSession Output...
2024-01-17 16:12:41.040 9538-9825 TransportR...oScheduler com.visioncameraandroidbugtest D Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
2024-01-17 16:12:41.043 9538-9753 CameraView com.visioncameraandroidbugtest I invokeOnStarted()
2024-01-17 16:12:41.043 9538-9753 CameraSession com.visioncameraandroidbugtest I Successfully updated CameraSession Configuration! isActive: true
2024-01-17 16:12:41.043 9538-9753 CameraView com.visioncameraandroidbugtest I invokeOnInitialized()
2024-01-17 16:12:41.044 9538-9753 CameraSession com.visioncameraandroidbugtest I configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=false, outputsChanged=true, sidePropsChanged=true, isActiveChanged=false)
2024-01-17 16:12:41.044 9538-9753 CameraSession com.visioncameraandroidbugtest I Destroying previous outputs...
2024-01-17 16:12:41.044 9538-9753 SurfaceOutput com.visioncameraandroidbugtest I Closing 3840x2160 Video Pipeline..
2024-01-17 16:12:41.044 9538-9753 SurfaceOutput com.visioncameraandroidbugtest I Closing BarcodeScanner..
2024-01-17 16:12:41.044 9538-9753 CameraView com.visioncameraandroidbugtest I invokeOnStopped()
2024-01-17 16:12:41.048 9538-9753 CameraSession com.visioncameraandroidbugtest I Creating outputs for Camera #0...
2024-01-17 16:12:41.053 9538-9753 CameraSession com.visioncameraandroidbugtest I Adding 3840x2160 Video Output in PRIVATE...
2024-01-17 16:12:41.053 9538-9753 VideoPipeline com.visioncameraandroidbugtest I Initializing 3840 x 2160 Video Pipeline (format: NATIVE)
2024-01-17 16:12:41.053 9538-9825 TransportR...EventStore com.visioncameraandroidbugtest D Storing event with priority=VERY_LOW, name=FIREBASE_ML_SDK for destination cct
2024-01-17 16:12:41.053 9538-9753 VideoPipeline com.visioncameraandroidbugtest I Using ImageReader round-trip (format: #34)
2024-01-17 16:12:41.053 9538-9753 VideoPipeline com.visioncameraandroidbugtest I Using API 29 for GPU ImageReader...
2024-01-17 16:12:41.058 9538-9825 TransportR...oScheduler com.visioncameraandroidbugtest D Upload for context TransportContext(cct, VERY_LOW, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
2024-01-17 16:12:41.059 9538-9753 CameraSession com.visioncameraandroidbugtest I Adding 1920x1080 Preview Output...
2024-01-17 16:12:41.060 9538-9538 PreviewView com.visioncameraandroidbugtest I Setting PreviewView Surface Size to 1626 x 2891...
2024-01-17 16:12:41.064 9538-9753 CameraSession com.visioncameraandroidbugtest I Adding 1280x720 CodeScanner Output in YUV_420_888...
2024-01-17 16:12:41.067 9538-9538 CameraSession com.visioncameraandroidbugtest I PreviewView Surface updated! Surface(name=null)/@0x23844bc 1920 x 1080
2024-01-17 16:12:41.069 9538-9933 DynamiteModule com.visioncameraandroidbugtest I Considering local module com.google.mlkit.dynamite.barcode:10000 and remote module com.google.mlkit.dynamite.barcode:0
2024-01-17 16:12:41.069 9538-9933 DynamiteModule com.visioncameraandroidbugtest I Selected local version of com.google.mlkit.dynamite.barcode
2024-01-17 16:12:41.082 9538-9825 TransportR...EventStore com.visioncameraandroidbugtest D Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct
2024-01-17 16:12:41.085 9538-9825 TransportR...oScheduler com.visioncameraandroidbugtest D Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
2024-01-17 16:12:41.086 9538-9753 CreateCaptureSession com.visioncameraandroidbugtest I Camera #0: Creating Capture Session #2... (Hardware Level: 1 | Outputs: [VIDEO (3840x2160 in NATIVE), PREVIEW (1920 x 1080), VIDEO (1280 x 720 CodeScanner for [QR, AZTEC] (35))])
2024-01-17 16:12:41.086 9538-9753 SurfaceOutput com.visioncameraandroidbugtest I Using optimized stream use case 3 for VIDEO output.
2024-01-17 16:12:41.086 9538-9753 SurfaceOutput com.visioncameraandroidbugtest I Using optimized stream use case 1 for PREVIEW output.
2024-01-17 16:12:41.087 9538-9753 SurfaceOutput com.visioncameraandroidbugtest I Using optimized stream use case 3 for VIDEO output.
2024-01-17 16:12:41.087 9538-9753 CreateCaptureSession com.visioncameraandroidbugtest I Using new API (>=28)
2024-01-17 16:12:41.425 9538-9648 TrafficStats com.visioncameraandroidbugtest D tagSocket(164) with statsTag=0xffffffff, statsUid=-1
2024-01-17 16:12:41.440 9538-9960 TrafficStats com.visioncameraandroidbugtest D tagSocket(164) with statsTag=0x90000, statsUid=-1
I tried it with a different phone (Huawei P30 Lite / Android 10) and on this device it worked fine so it has something todo with the os / available camera's I guess?
What's happening?
When both
frameProcessor
andcodeScanner
props are used I get an error on my Pixel 6 Pro. When one of the two props are disabled it works.On iOS it works. I did add
VisionCamera_enableCodeScanner=true
toandroid/build.gradle
Reproduceable Code
Relevant log output
Camera Device
Device
Pixel 6 Pro / Android 14
VisionCamera Version
3.8.0
Can you reproduce this issue in the VisionCamera Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information