Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 TakePhoto() doesn't work with Android Emulator (Pixel 4 API 28, Pixel 4 API 31, Pixel 8 API 31) #3182

Closed
3 of 5 tasks
Jonnboy91 opened this issue Sep 10, 2024 · 10 comments
Labels
🐛 bug Something isn't working

Comments

@Jonnboy91
Copy link

What's happening?

While trying to take a picture with Android emulator I'm getting either one of these issues:

[session/recoverable-error: An unknown error occurred while creating the Camera Session, but the Camera can recover from it.]

[device/camera-already-in-use: The given Camera Device is already in use!]

These come once when app is started and the takePhoto button is pressed and after that pressing it just starts the takePhoto process, but never gets past takePhoto() function, also doesn't give errors for some reason.

I even created a completely new project and only installed the latest version of Vision-Camera and react native 0.74.5 and still got this same issue. I'm not able to take a photo with Android Emulator (tested Pixel_4 with API 28 and API 31).
What I noticed is that if I changed the takePhoto() -> takeSnapshot() it worked 🤔

Reproduceable Code

/* eslint-disable react-native/no-inline-styles */
import React, {useRef} from 'react';
import {Button, View} from 'react-native';
import {
  Camera,
  useCameraDevice,
  useCameraPermission,
} from 'react-native-vision-camera';

function App(): React.JSX.Element {
  const {hasPermission, requestPermission} = useCameraPermission();
  const device = useCameraDevice('back');
  const cameraRef = useRef<Camera>(null);

  const takePhoto = async () => {
    try {
      console.log('Taking photo...');
      const photo = await cameraRef.current?.takePhoto();
      console.log('Photo taken:', photo);
      if (photo) {
        console.log('Photo exists:', photo);
      }
    } catch (e) {
      console.log('ERROR IS on catch: ', e);
    } finally {
    }
  };

  if (!hasPermission) {
    return (
      <View style={{flex: 1, justifyContent: 'center', alignItems: 'center'}}>
        <Button title={'Request permission'} onPress={requestPermission} />
      </View>
    );
  }
  return (
    <View
      style={{
        flex: 1,
      }}>
      {device && (
        <Camera
          onInitialized={() => {
            console.log('Camera initialized');
          }}
          onError={error => {
            console.log('Error is onError: ', error);
          }}
          onShutter={photo => {
            console.log('Photo is onShutter: ', photo);
          }}
          ref={cameraRef}
          style={{flex: 1, width: '100%'}}
          isActive={true}
          device={device}
          photo={true}
        />
      )}
      <Button
        title={'TAKE PHOTO'}
        onPress={() => {
          takePhoto();
        }}
      />
    </View>
  );
}

export default App;

Relevant log output

My own logs:
With takeSnapShot:
Taking photo...
Photo taken: {"height": 1968, "isMirrored": false, "orientation": "portrait", "path": "/data/user/0/com.awesomeproject/cache/mrousavy4034705204925994570.jpg", "width": 1080}
Photo exists: {"height": 1968, "isMirrored": false, "orientation": "portrait", "path": "/data/user/0/com.awesomeproject/cache/mrousavy4034705204925994570.jpg", "width": 1080}
Photo is onShutter:  {"type": "snapshot"}

With takePhoto:
Taking photo...
Photo is onShutter:  {"type": "photo"}
Error is onError:  [device/camera-already-in-use: The given Camera Device is already in use!]

With takePhoto (other one that comes sometimes):
Taking photo...
Photo is onShutter:  {"type": "photo"}
Error is onError:  [session/recoverable-error: An unknown error occurred while creating the Camera Session, but the Camera can recover from it.]

Camera Device

{
  "formats": [],
  "sensorOrientation": "landscape-left",
  "hardwareLevel": "full",
  "maxZoom": 10,
  "minZoom": 1,
  "maxExposure": 0,
  "supportsLowLightBoost": false,
  "neutralZoom": 1,
  "physicalDevices": [
    "telephoto-camera"
  ],
  "supportsFocus": true,
  "supportsRawCapture": false,
  "isMultiCam": false,
  "minFocusDistance": 5,
  "minExposure": 0,
  "name": "0 (BACK) androidx.camera.camera2",
  "hasFlash": false,
  "hasTorch": false,
  "position": "back",
  "id": "0"
}

Device

Pixel 4 Android emulator API 28, Pixel 4 Android emulator API 31, Pixel 8 Android emulator API 31

VisionCamera Version

4.5.3

Can you reproduce this issue in the VisionCamera Example app?

Yes, I can reproduce the same issue in the Example app here

Additional information

@Jonnboy91 Jonnboy91 added the 🐛 bug Something isn't working label Sep 10, 2024
@mrousavy
Copy link
Owner

There are not enough logs here. I need the adb logcat logs.

@mrousavy mrousavy closed this as not planned Won't fix, can't repro, duplicate, stale Sep 12, 2024
@Pingou
Copy link

Pingou commented Sep 22, 2024

@Jonnboy91 same issue here, did you manage to fix it?

@Jonnboy91
Copy link
Author

I didn't, and haven't had time to send any logs. This also happens on the example PR in here so something is broken with it. 🤔

@Pingou
Copy link

Pingou commented Sep 22, 2024

@Jonnboy91 thank you. @mrousavy can we reopen?

here are my logs:

` LOG Camera: 0 (BACK) androidx.camera.camera2 | Format: (352x288 photo / 1280x720@30 video @ 20fps)
LOG Camera initialized!
LOG Preview orientation changed to portrait!
LOG UI Rotation changed: 0°
LOG Output orientation changed to portrait!
LOG Camera started!
LOG Camera stopped!
LOG Camera started!
LOG Preview started!
LOG Taking photo...
LOG Camera stopped!
ERROR [session/recoverable-error: An unknown error occurred while creating the Camera Session, but the Camera can recover from it.]
LOG Camera started!

`

@Jonnboy91
Copy link
Author

I think you need logcat from Android Studio, so not just own logs, but the logs that come from the actual dependency and you can see that from android studio.

@Pingou
Copy link

Pingou commented Sep 22, 2024

I think you need logcat from Android Studio, so not just own logs, but the logs that come from the actual dependency and you can see that from android studio.

Right, here we go

5 17512-17512 NetworkSecurityConfig   com.myapp               D  No Network Security Config specified, using platform default
2024-09-22 16:33:27.776 17512-17512 NetworkSecurityConfig   com.myapp               D  No Network Security Config specified, using platform default
2024-09-22 16:33:27.780 17512-17512 MultiDex                com.myapp               I  VM with version 2.1.0 has multidex support
2024-09-22 16:33:27.780 17512-17512 MultiDex                com.myapp               I  Installing application
2024-09-22 16:33:27.780 17512-17512 MultiDex                com.myapp               I  VM has multidex support, MultiDex support library is disabled.
2024-09-22 16:33:27.798 17512-17512 Compatibil...geReporter com.myapp               D  Compat change id reported: 183155436; UID 10161; state: ENABLED
2024-09-22 16:33:27.909 17512-17512 ReactNativeFirebaseApp  com.myapp               D  received application context.
2024-09-22 16:33:27.917 17512-17543 TrafficStats            com.myapp               D  tagSocket(74) with statsTag=0x8003, statsUid=-1
2024-09-22 16:33:27.922 17512-17539 libcrashlytics          com.myapp               D  Initializing libcrashlytics version 3.2.0
2024-09-22 16:33:27.924 17512-17512 RNFBCrashlyticsInit     com.myapp               D  isCrashlyticsCollectionEnabled via RNFBMeta: true
2024-09-22 16:33:27.925 17512-17512 RNFBCrashlyticsInit     com.myapp               D  isCrashlyticsCollectionEnabled after checking crashlytics_debug_enabled: true
2024-09-22 16:33:27.925 17512-17512 RNFBCrashlyticsInit     com.myapp               D  isCrashlyticsCollectionEnabled final value: true
2024-09-22 16:33:27.926 17512-17539 libcrashlytics          com.myapp               D  Initializing native crash handling successful.
--------- beginning of system
2024-09-22 16:33:27.929 17512-17546 Compatibil...geReporter com.myapp               D  Compat change id reported: 194532703; UID 10161; state: ENABLED
2024-09-22 16:33:27.930 17512-17512 RNFBCrashlyticsInit     com.myapp               I  initialization successful
2024-09-22 16:33:27.936 17512-17512 CrashlyticsInitProvider com.myapp               I  CrashlyticsInitProvider skipping initialization
2024-09-22 16:33:27.945 17512-17555 nativeloader            com.myapp               D  Configuring classloader-namespace for other apk /system/framework/com.android.media.remotedisplay.jar. target_sdk_version=34, uses_libraries=ALL, library_path=/data/app/~~IMpBJ_GaCWePs2PNM_UpOg==/com.google.android.gms-SM8-z0qDb54Cvei2w-sGmw==/lib/arm64:/data/app/~~IMpBJ_GaCWePs2PNM_UpOg==/com.google.android.gms-SM8-z0qDb54Cvei2w-sGmw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.google.android.gms
2024-09-22 16:33:27.946 17512-17512 WM-WrkMgrInitializer    com.myapp               D  Initializing WorkManager with default configuration.
2024-09-22 16:33:27.954 17512-17555 nativeloader            com.myapp               D  Configuring classloader-namespace for other apk /system/framework/com.android.location.provider.jar. target_sdk_version=34, uses_libraries=ALL, library_path=/data/app/~~IMpBJ_GaCWePs2PNM_UpOg==/com.google.android.gms-SM8-z0qDb54Cvei2w-sGmw==/lib/arm64:/data/app/~~IMpBJ_GaCWePs2PNM_UpOg==/com.google.android.gms-SM8-z0qDb54Cvei2w-sGmw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.google.android.gms
2024-09-22 16:33:27.965 17512-17512 SoLoader                com.myapp               V  Init System Loader delegate
2024-09-22 16:33:27.981 17512-17555 nativeloader            com.myapp               D  Configuring classloader-namespace for other apk /system_ext/framework/androidx.window.extensions.jar. target_sdk_version=34, uses_libraries=ALL, library_path=/data/app/~~IMpBJ_GaCWePs2PNM_UpOg==/com.google.android.gms-SM8-z0qDb54Cvei2w-sGmw==/lib/arm64:/data/app/~~IMpBJ_GaCWePs2PNM_UpOg==/com.google.android.gms-SM8-z0qDb54Cvei2w-sGmw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.google.android.gms
2024-09-22 16:33:27.993 17512-17555 nativeloader            com.myapp               D  Configuring classloader-namespace for other apk /system_ext/framework/androidx.window.sidecar.jar. target_sdk_version=34, uses_libraries=ALL, library_path=/data/app/~~IMpBJ_GaCWePs2PNM_UpOg==/com.google.android.gms-SM8-z0qDb54Cvei2w-sGmw==/lib/arm64:/data/app/~~IMpBJ_GaCWePs2PNM_UpOg==/com.google.android.gms-SM8-z0qDb54Cvei2w-sGmw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.google.android.gms
2024-09-22 16:33:27.996 17512-17558 Compatibil...geReporter com.myapp               D  Compat change id reported: 160794467; UID 10161; state: ENABLED
2024-09-22 16:33:28.022 17512-17512 AppCompatDelegate       com.myapp               D  Checking for metadata for AppLocalesMetadataHolderService : Service not found
2024-09-22 16:33:28.040 17512-17561 libEGL                  com.myapp               D  loaded /vendor/lib64/egl/libEGL_emulation.so
2024-09-22 16:33:28.045 17512-17561 libEGL                  com.myapp               D  loaded /vendor/lib64/egl/libGLESv1_CM_emulation.so
2024-09-22 16:33:28.049 17512-17561 libEGL                  com.myapp               D  loaded /vendor/lib64/egl/libGLESv2_emulation.so
2024-09-22 16:33:28.079 17512-17555 nativeloader            com.myapp               D  Configuring classloader-namespace for other apk /data/app/~~IMpBJ_GaCWePs2PNM_UpOg==/com.google.android.gms-SM8-z0qDb54Cvei2w-sGmw==/base.apk. target_sdk_version=34, uses_libraries=, library_path=/data/app/~~IMpBJ_GaCWePs2PNM_UpOg==/com.google.android.gms-SM8-z0qDb54Cvei2w-sGmw==/lib/arm64:/data/app/~~IMpBJ_GaCWePs2PNM_UpOg==/com.google.android.gms-SM8-z0qDb54Cvei2w-sGmw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.google.android.gms
2024-09-22 16:33:28.315 17512-17574 TrafficStats            com.myapp               D  tagSocket(94) with statsTag=0xffffffff, statsUid=-1
2024-09-22 16:33:28.318 17512-17575 TrafficStats            com.myapp               D  tagSocket(96) with statsTag=0xffffffff, statsUid=-1
2024-09-22 16:33:28.324 17512-17576 TrafficStats            com.myapp               D  tagSocket(98) with statsTag=0xffffffff, statsUid=-1
2024-09-22 16:33:28.373 17512-17555 ziparchive              com.myapp               W  Unable to open '/data/user_de/0/com.google.android.gms/app_chimera/m/0000008f/DynamiteLoader.dm': No such file or directory
2024-09-22 16:33:28.373 17512-17555 ziparchive              com.myapp               W  Unable to open '/data/user_de/0/com.google.android.gms/app_chimera/m/0000008f/DynamiteLoader.dm': No such file or directory
2024-09-22 16:33:28.379 17512-17555 DynamiteModule          com.myapp               I  Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:233702200
2024-09-22 16:33:28.379 17512-17555 DynamiteModule          com.myapp               I  Selected remote version of com.google.android.gms.ads.dynamite, version >= 233702200
2024-09-22 16:33:28.379 17512-17555 DynamiteModule          com.myapp               V  Dynamite loader version >= 2, using loadModule2NoCrashUtils
2024-09-22 16:33:28.393 17512-17555 System                  com.myapp               W  ClassLoader referenced unknown path: 
2024-09-22 16:33:28.394 17512-17555 nativeloader            com.myapp               D  Configuring classloader-namespace for other apk . target_sdk_version=34, uses_libraries=, library_path=/data/app/~~IMpBJ_GaCWePs2PNM_UpOg==/com.google.android.gms-SM8-z0qDb54Cvei2w-sGmw==/lib/arm64:/data/app/~~IMpBJ_GaCWePs2PNM_UpOg==/com.google.android.gms-SM8-z0qDb54Cvei2w-sGmw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.google.android.gms
2024-09-22 16:33:28.401 17512-17555 ziparchive              com.myapp               W  Unable to open '/data/user_de/0/com.google.android.gms/app_chimera/m/0000009d/dl-AdsFdrDynamite.integ_233702200100000.dm': No such file or directory
2024-09-22 16:33:28.401 17512-17555 ziparchive              com.myapp               W  Unable to open '/data/user_de/0/com.google.android.gms/app_chimera/m/0000009d/dl-AdsFdrDynamite.integ_233702200100000.dm': No such file or directory
2024-09-22 16:33:28.405 17512-17512 unknown:ReactNative     com.myapp               W  Packager connection already open, nooping.
2024-09-22 16:33:28.425 17512-17559 HostConnection          com.myapp               D  createUnique: call
2024-09-22 16:33:28.427 17512-17559 HostConnection          com.myapp               D  HostConnection::get() New Host Connection established 0xb4000079eb0bcdd0, tid 17559
2024-09-22 16:33:28.432 17512-17559 HostConnection          com.myapp               D  HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0 
2024-09-22 16:33:28.453 17512-17559 OpenGLRenderer          com.myapp               W  Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
2024-09-22 16:33:28.454 17512-17559 OpenGLRenderer          com.myapp               W  Failed to initialize 101010-2 format, error = EGL_SUCCESS
2024-09-22 16:33:28.456 17512-17559 EGL_emulation           com.myapp               D  eglCreateContext: 0xb4000079eb0b8690: maj 3 min 0 rcv 3
2024-09-22 16:33:28.459 17512-17559 EGL_emulation           com.myapp               D  eglMakeCurrent: 0xb4000079eb0b8690: ver 3 0 (tinfo 0x7c00f42080) (first time)
2024-09-22 16:33:28.502 17512-17559 Gralloc4                com.myapp               I  mapper 4.x is not supported
2024-09-22 16:33:28.506 17512-17559 HostConnection          com.myapp               D  createUnique: call
2024-09-22 16:33:28.506 17512-17559 HostConnection          com.myapp               D  HostConnection::get() New Host Connection established 0xb4000079eb0bd3d0, tid 17559
2024-09-22 16:33:28.507 17512-17559 goldfish-address-space  com.myapp               D  allocate: Ask for block of size 0x100
2024-09-22 16:33:28.507 17512-17559 goldfish-address-space  com.myapp               D  allocate: ioctl allocate returned offset 0x1edff0000 size 0x8000
2024-09-22 16:33:28.512 17512-17559 Gralloc4                com.myapp               W  allocator 4.x is not supported
2024-09-22 16:33:28.520 17512-17559 HostConnection          com.myapp               D  HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0 
2024-09-22 16:33:28.565 17512-17559 Parcel                  com.myapp               W  Expecting binder but got null!
2024-09-22 16:33:28.580 17512-17512 Compatibil...geReporter com.myapp               D  Compat change id reported: 210923482; UID 10161; state: ENABLED
2024-09-22 16:33:28.690 17512-17559 Parcel                  com.myapp               W  Expecting binder but got null!
2024-09-22 16:33:30.560 17512-17604 InstallReferrerState    com.myapp               D  OK
2024-09-22 16:33:30.617 17512-17601 CameraManagerGlobal     com.myapp               I  Connecting to camera service
2024-09-22 16:33:30.643 17512-17512 unknown:ReactNative     com.myapp               W  Packager connection already open, nooping.
2024-09-22 16:33:30.692 12813-17464 ThirdPartyChatAppCtl    com.google.android.wearable.app      E  Unable to delete icon com.myapp, error was An error occurred deleting data items: Status{statusCode=TIMEOUT, resolution=null}
2024-09-22 16:33:30.694 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.debuggingoverlay.DebuggingOverlayManager
2024-09-22 16:33:30.696 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.uimanager.LayoutShadowNode
2024-09-22 16:33:30.698 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.drawer.ReactDrawerLayoutManager
2024-09-22 16:33:30.699 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollViewManager
2024-09-22 16:33:30.700 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollContainerViewManager
2024-09-22 16:33:30.701 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.progressbar.ReactProgressBarViewManager
2024-09-22 16:33:30.701 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.progressbar.ProgressBarShadowNode
2024-09-22 16:33:30.702 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.scroll.ReactScrollViewManager
2024-09-22 16:33:30.703 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager
2024-09-22 16:33:30.704 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager$ReactSwitchShadowNode
2024-09-22 16:33:30.705 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.swiperefresh.SwipeRefreshLayoutManager
2024-09-22 16:33:30.705 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageViewManager
2024-09-22 16:33:30.705 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageShadowNode
2024-09-22 16:33:30.706 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.image.ReactImageManager
2024-09-22 16:33:30.707 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.modal.ReactModalHostManager
2024-09-22 16:33:30.708 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.modal.ModalHostShadowNode
2024-09-22 16:33:30.709 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.text.ReactRawTextManager
2024-09-22 16:33:30.710 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.text.ReactRawTextShadowNode
2024-09-22 16:33:30.710 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputManager
2024-09-22 16:33:30.713 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputShadowNode
2024-09-22 16:33:30.714 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.text.ReactTextViewManager
2024-09-22 16:33:30.714 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.text.ReactTextShadowNode
2024-09-22 16:33:30.715 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.view.ReactViewManager
2024-09-22 16:33:30.716 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextViewManager
2024-09-22 16:33:30.716 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextShadowNode
2024-09-22 16:33:30.716 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.facebook.react.views.unimplementedview.ReactUnimplementedViewManager
2024-09-22 16:33:30.717 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.reactnativecommunity.blurview.BlurViewManager
2024-09-22 16:33:30.717 17512-17611 unknown:UI...antsHelper com.myapp               E  Direct event name for 'RNCSlider' doesn't correspond to the naming convention, expected 'topEventName'->'onEventName', got 'topSlidingStart'->'onRNCSliderSlidingStart'
2024-09-22 16:33:30.717 17512-17611 unknown:UI...antsHelper com.myapp               E  Direct event name for 'RNCSlider' doesn't correspond to the naming convention, expected 'topEventName'->'onEventName', got 'topSlidingComplete'->'onRNCSliderSlidingComplete'
2024-09-22 16:33:30.718 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.reactnativecommunity.slider.ReactSliderManager
2024-09-22 16:33:30.718 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.reactnativecommunity.slider.ReactSliderManager$ReactSliderShadowNode
2024-09-22 16:33:30.719 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class org.reactnative.maskedview.RNCMaskedViewManager
2024-09-22 16:33:30.719 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.reactnativecommunity.picker.ReactDialogPickerManager
2024-09-22 16:33:30.721 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.reactnativecommunity.picker.ReactPickerShadowNode
2024-09-22 16:33:30.721 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.reactnativecommunity.picker.ReactDropdownPickerManager
2024-09-22 16:33:30.722 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.airbnb.android.react.lottie.LottieAnimationViewManager
2024-09-22 16:33:30.723 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.swmansion.gesturehandler.react.RNGestureHandlerRootViewManager
2024-09-22 16:33:30.724 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.swmansion.gesturehandler.react.RNGestureHandlerButtonViewManager
2024-09-22 16:33:30.725 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class io.invertase.googlemobileads.ReactNativeGoogleMobileAdsBannerAdViewManager
2024-09-22 16:33:30.725 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.BV.LinearGradient.LinearGradientManager
2024-09-22 16:33:30.726 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.rnmaps.maps.MapManager
2024-09-22 16:33:30.726 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.rnmaps.maps.MapMarkerManager
2024-09-22 16:33:30.727 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.rnmaps.maps.MapCalloutManager
2024-09-22 16:33:30.728 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.rnmaps.maps.MapPolylineManager
2024-09-22 16:33:30.728 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.rnmaps.maps.MapGradientPolylineManager
2024-09-22 16:33:30.729 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.rnmaps.maps.MapPolygonManager
2024-09-22 16:33:30.729 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.rnmaps.maps.MapCircleManager
2024-09-22 16:33:30.730 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.rnmaps.maps.MapUrlTileManager
2024-09-22 16:33:30.730 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.rnmaps.maps.MapWMSTileManager
2024-09-22 16:33:30.731 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.rnmaps.maps.MapLocalTileManager
2024-09-22 16:33:30.731 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.rnmaps.maps.MapOverlayManager
2024-09-22 16:33:30.731 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.rnmaps.maps.MapHeatmapManager
2024-09-22 16:33:30.732 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.th3rdwave.safeareacontext.SafeAreaProviderManager
2024-09-22 16:33:30.732 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.th3rdwave.safeareacontext.SafeAreaViewManager
2024-09-22 16:33:30.732 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.th3rdwave.safeareacontext.SafeAreaViewShadowNode
2024-09-22 16:33:30.733 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.swmansion.rnscreens.ScreenContainerViewManager
2024-09-22 16:33:30.733 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.swmansion.rnscreens.ScreenViewManager
2024-09-22 16:33:30.734 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.swmansion.rnscreens.ModalScreenViewManager
2024-09-22 16:33:30.735 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.swmansion.rnscreens.ScreenStackViewManager
2024-09-22 16:33:30.735 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.swmansion.rnscreens.ScreenStackHeaderConfigViewManager
2024-09-22 16:33:30.736 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.swmansion.rnscreens.ScreenStackHeaderSubviewManager
2024-09-22 16:33:30.737 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.swmansion.rnscreens.SearchBarManager
2024-09-22 16:33:30.738 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$GroupViewManager
2024-09-22 16:33:30.738 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$RenderableShadowNode
2024-09-22 16:33:30.739 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$PathViewManager
2024-09-22 16:33:30.740 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$CircleViewManager
2024-09-22 16:33:30.740 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$EllipseViewManager
2024-09-22 16:33:30.741 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$LineViewManager
2024-09-22 16:33:30.742 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$RectViewManager
2024-09-22 16:33:30.742 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$TextViewManager
2024-09-22 16:33:30.743 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$TSpanViewManager
2024-09-22 16:33:30.743 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$TextPathViewManager
2024-09-22 16:33:30.744 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$ImageViewManager
2024-09-22 16:33:30.744 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$ClipPathViewManager
2024-09-22 16:33:30.745 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$DefsViewManager
2024-09-22 16:33:30.745 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$UseViewManager
2024-09-22 16:33:30.745 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$SymbolManager
2024-09-22 16:33:30.746 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$LinearGradientManager
2024-09-22 16:33:30.746 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$RadialGradientManager
2024-09-22 16:33:30.747 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$PatternManager
2024-09-22 16:33:30.747 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$MaskManager
2024-09-22 16:33:30.748 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$ForeignObjectManager
2024-09-22 16:33:30.748 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.RenderableViewManager$MarkerManager
2024-09-22 16:33:30.749 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.horcrux.svg.SvgViewManager
2024-09-22 16:33:30.750 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.brentvatne.exoplayer.ReactExoplayerViewManager
2024-09-22 16:33:30.752 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.mrousavy.camera.react.CameraViewManager
2024-09-22 16:33:30.754 17512-17611 unknown:Vi...rtyUpdater com.myapp               W  Could not find generated setter for class com.reactnativecommunity.webview.RNCWebViewManager
2024-09-22 16:33:30.794 17512-17614 CameraDevices           com.myapp               I  Initializing ProcessCameraProvider...
2024-09-22 16:33:30.801 17512-17614 QuirkSettingsLoader     com.myapp               D  QuirkSettings$MetadataHolderService is not found.
2024-09-22 16:33:30.801 17512-17614 CameraX                 com.myapp               D  QuirkSettings from app metadata: null
2024-09-22 16:33:30.801 17512-17614 CameraX                 com.myapp               D  QuirkSettings by default: QuirkSettings{enabledWhenDeviceHasQuirk=true, forceEnabledQuirks=[], forceDisabledQuirks=[]}
2024-09-22 16:33:30.808 17512-17611 CameraDevices           com.myapp               I  Camera #0 is now available.
2024-09-22 16:33:30.808 17512-17611 CameraDevices           com.myapp               I  Camera #1 is now available.
2024-09-22 16:33:30.814 17512-17617 DeviceQuirks            com.myapp               D  camera2 DeviceQuirks = 
2024-09-22 16:33:30.849 17512-17617 CameraRepository        com.myapp               D  Added camera: 0
2024-09-22 16:33:30.854 17512-17617 CameraQuirks            com.myapp               D  camera2 CameraQuirks = 
2024-09-22 16:33:30.868 17512-17617 Camera2CameraInfo       com.myapp               I  Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED
2024-09-22 16:33:30.871 17512-17617 CameraRepository        com.myapp               D  Added camera: 1
2024-09-22 16:33:30.871 17512-17617 CameraQuirks            com.myapp               D  camera2 CameraQuirks = 
2024-09-22 16:33:30.872 17512-17617 Camera2CameraInfo       com.myapp               I  Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_FULL
2024-09-22 16:33:30.873 17512-17617 CameraValidator         com.myapp               D  Verifying camera lens facing on emu64a, lensFacingInteger: null
2024-09-22 16:33:30.876 17512-17619 CameraDevices           com.myapp               I  Initializing ExtensionsManager...
2024-09-22 16:33:30.888 17512-17619 ExtenderVersion         com.myapp               D  No versioning extender found. Falling back to default.
2024-09-22 16:33:30.891 17512-17619 CameraDevices           com.myapp               I  Successfully initialized!
2024-09-22 16:33:30.901 17512-17619 DeviceQuirks            com.myapp               D  video DeviceQuirks = NegativeLatLongSavesIncorrectlyQuirk
2024-09-22 16:33:30.904 17512-17619 Compatibil...geReporter com.myapp               D  Compat change id reported: 206033068; UID 10161; state: ENABLED
2024-09-22 16:33:30.906 17512-17619 Camera2Enc...esProvider com.myapp               W  Failed to create EncoderProfilesProxy, EncoderProfiles might  contain invalid video profiles. Use CamcorderProfile instead.
                                                                                                    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.media.EncoderProfiles$VideoProfile.getCodec()' on a null object reference
                                                                                                    	at androidx.camera.core.impl.compat.EncoderProfilesProxyCompatApi33Impl.fromVideoProfiles(EncoderProfilesProxyCompatApi33Impl.java:55)
                                                                                                    	at androidx.camera.core.impl.compat.EncoderProfilesProxyCompatApi33Impl.from(EncoderProfilesProxyCompatApi33Impl.java:44)
                                                                                                    	at androidx.camera.core.impl.compat.EncoderProfilesProxyCompat.from(EncoderProfilesProxyCompat.java:41)
                                                                                                    	at androidx.camera.camera2.internal.Camera2EncoderProfilesProvider.getProfilesInternal(Camera2EncoderProfilesProvider.java:149)
                                                                                                    	at androidx.camera.camera2.internal.Camera2EncoderProfilesProvider.getAll(Camera2EncoderProfilesProvider.java:97)
                                                                                                    	at androidx.camera.video.internal.workaround.QualityAddedEncoderProfilesProvider.getProfilesInternal(QualityAddedEncoderProfilesProvider.java:83)
                                                                                                    	at androidx.camera.video.internal.workaround.QualityAddedEncoderProfilesProvider.hasProfile(QualityAddedEncoderProfilesProvider.java:68)
                                                                                                    	at androidx.camera.video.internal.workaround.QualityResolutionModifiedEncoderProfilesProvider.hasProfile(QualityResolutionModifiedEncoderProfilesProvider.java:60)
                                                                                                    	at androidx.camera.video.internal.workaround.QualityValidatedEncoderProfilesProvider.hasProfile(QualityValidatedEncoderProfilesProvider.java:81)
                                                                                                    	at androidx.camera.video.internal.DynamicRangeMatchedEncoderProfilesProvider.getProfilesInternal(DynamicRangeMatchedEncoderProfilesProvider.java:74)
                                                                                                    	at androidx.camera.video.internal.DynamicRangeMatchedEncoderProfilesProvider.getAll(DynamicRangeMatchedEncoderProfilesProvider.java:64)
                                                                                                    	at androidx.camera.video.CapabilitiesByQuality.getEncoderProfiles(CapabilitiesByQuality.java:172)
                                                                                                    	at androidx.camera.video.CapabilitiesByQuality.<init>(CapabilitiesByQuality.java:62)
                                                                                                    	at androidx.camera.video.RecorderVideoCapabilities.<init>(RecorderVideoCapabilities.java:141)
                                                                                                    	at androidx.camera.video.Recorder.getVideoCapabilities(Recorder.java:2941)
                                                                                                    	at com.mrousavy.camera.core.CameraDeviceDetails.<init>(CameraDeviceDetails.kt:53)
                                                                                                    	at com.mrousavy.camera.react.CameraDevicesManager.getDevicesJson(CameraDevicesManager.kt:86)
                                                                                                    	at com.mrousavy.camera.react.CameraDevicesManager.sendAvailableDevicesChangedEvent(CameraDevicesManager.kt:94)
                                                                                                    	at com.mrousavy.camera.react.CameraDevicesManager$initialize$1.invokeSuspend(CameraDevicesManager.kt:71)
                                                                                                    	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                                                                                                    	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
                                                                                                    	at java.lang.Thread.run(Thread.java:1012)
2024-09-22 16:33:30.906 17512-17619 EncoderPro...roxyCompat com.myapp               W  Should use from(EncoderProfiles) on API 33instead. CamcorderProfile is deprecated on API 31.
2024-09-22 16:33:30.908 17512-17619 CapabilitiesByQuality   com.myapp               D  profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=1, mediaType=audio/3gpp, bitrate=12200, sampleRate=8000, channels=1, profile=-1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
2024-09-22 16:33:30.913 17512-17619 Camera2Enc...esProvider com.myapp               W  Failed to create EncoderProfilesProxy, EncoderProfiles might  contain invalid video profiles. Use CamcorderProfile instead.
                                                                                                    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.media.EncoderProfiles$VideoProfile.getCodec()' on a null object reference
                                                                                                    	at androidx.camera.core.impl.compat.EncoderProfilesProxyCompatApi33Impl.fromVideoProfiles(EncoderProfilesProxyCompatApi33Impl.java:55)
                                                                                                    	at androidx.camera.core.impl.compat.EncoderProfilesProxyCompatApi33Impl.from(EncoderProfilesProxyCompatApi33Impl.java:44)
                                                                                                    	at androidx.camera.core.impl.compat.EncoderProfilesProxyCompat.from(EncoderProfilesProxyCompat.java:41)
                                                                                                    	at androidx.camera.camera2.internal.Camera2EncoderProfilesProvider.getProfilesInternal(Camera2EncoderProfilesProvider.java:149)
                                                                                                    	at androidx.camera.camera2.internal.Camera2EncoderProfilesProvider.getAll(Camera2EncoderProfilesProvider.java:97)
                                                                                                    	at androidx.camera.video.internal.workaround.QualityAddedEncoderProfilesProvider.getProfilesInternal(QualityAddedEncoderProfilesProvider.java:83)
                                                                                                    	at androidx.camera.video.internal.workaround.QualityAddedEncoderProfilesProvider.hasProfile(QualityAddedEncoderProfilesProvider.java:68)
                                                                                                    	at androidx.camera.video.internal.workaround.QualityResolutionModifiedEncoderProfilesProvider.hasProfile(QualityResolutionModifiedEncoderProfilesProvider.java:60)
                                                                                                    	at androidx.camera.video.internal.BackupHdrProfileEncoderProfilesProvider.hasProfile(BackupHdrProfileEncoderProfilesProvider.java:86)
                                                                                                    	at androidx.camera.video.internal.workaround.QualityValidatedEncoderProfilesProvider.hasProfile(QualityValidatedEncoderProfilesProvider.java:81)
                                                                                                    	at androidx.camera.video.internal.DynamicRangeMatchedEncoderProfilesProvider.getProfilesInternal(DynamicRangeMatchedEncoderProfilesProvider.java:74)
                                                                                                    	at androidx.camera.video.internal.DynamicRangeMatchedEncoderProfilesProvider.getAll(DynamicRangeMatchedEncoderProfilesProvider.java:64)
                                                                                                    	at androidx.camera.video.CapabilitiesByQuality.getEncoderProfiles(CapabilitiesByQuality.java:172)
                                                                                                    	at androidx.camera.video.CapabilitiesByQuality.<init>(CapabilitiesByQuality.java:62)
                                                                                                    	at androidx.camera.video.RecorderVideoCapabilities.<init>(RecorderVideoCapabilities.java:141)
                                                                                                    	at androidx.camera.video.Recorder.getVideoCapabilities(Recorder.java:2941)
                                                                                                    	at com.mrousavy.camera.core.CameraDeviceDetails.<init>(CameraDeviceDetails.kt:53)
                                                                                                    	at com.mrousavy.camera.react.CameraDevicesManager.getDevicesJson(CameraDevicesManager.kt:86)
                                                                                                    	at com.mrousavy.camera.react.CameraDevicesManager.sendAvailableDevicesChangedEvent(CameraDevicesManager.kt:94)
                                                                                                    	at com.mrousavy.camera.react.CameraDevicesManager$initialize$1.invokeSuspend(CameraDevicesManager.kt:71)
                                                                                                    	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                                                                                                    	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
                                                                                                    	at java.lang.Thread.run(Thread.java:1012)
2024-09-22 16:33:30.913 17512-17619 EncoderPro...roxyCompat com.myapp               W  Should use from(EncoderProfiles) on API 33instead. CamcorderProfile is deprecated on API 31.
2024-09-22 16:33:30.913 17512-17619 BackupHdrP...esProvider com.myapp               D  Base Bitrate(12000000bps) * Bit Depth Ratio (10 / 8) = 15000000
2024-09-22 16:33:30.921 17512-17619 MediaCodecList          com.myapp               D  codecHandlesFormat: no format, so no extra checks
2024-09-22 16:33:30.930 17512-17621 CCodec                  com.myapp               D  allocate(c2.android.hevc.encoder)
2024-09-22 16:33:30.933 17512-17621 Codec2Client            com.myapp               I  Available Codec2 services: "default" "software"
2024-09-22 16:33:30.947 17512-17621 CCodec                  com.myapp               I  setting up 'default' as default (vendor) store
2024-09-22 16:33:31.014 17512-17621 CCodec                  com.myapp               I  Created component [c2.android.hevc.encoder]
2024-09-22 16:33:31.015 17512-17621 CCodecConfig            com.myapp               D  read media type: video/hevc
2024-09-22 16:33:31.019 17512-17621 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: algo.buffers.max-count.values
2024-09-22 16:33:31.021 17512-17621 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: output.subscribed-indices.values
2024-09-22 16:33:31.021 17512-17621 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: input.buffers.allocator-ids.values
2024-09-22 16:33:31.021 17512-17621 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: output.buffers.allocator-ids.values
2024-09-22 16:33:31.022 17512-17621 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: algo.buffers.allocator-ids.values
2024-09-22 16:33:31.022 17512-17621 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: output.buffers.pool-ids.values
2024-09-22 16:33:31.022 17512-17621 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: algo.buffers.pool-ids.values
2024-09-22 16:33:31.026 17512-17621 ReflectedParamUpdater   com.myapp               D  ignored struct field coding.gop.values
2024-09-22 16:33:31.026 17512-17621 ReflectedParamUpdater   com.myapp               D  ignored struct field coding.qp.values
2024-09-22 16:33:31.026 17512-17621 CCodecConfig            com.myapp               D  ignoring local param raw.color (0xc2001809) as it is already supported
2024-09-22 16:33:31.029 17512-17621 CCodecConfig            com.myapp               I  query failed after returning 14 values (BAD_INDEX)
2024-09-22 16:33:31.029 17512-17621 CCodecConfig            com.myapp               D  c2 config diff is Dict {
                                                                                                      c2::u32 algo.bitrate-mode.value = 3
                                                                                                      c2::u32 algo.complexity.value = 0
                                                                                                      c2::u32 algo.quality.value = 80
                                                                                                      c2::i32 coded.average-qp.value = 0
                                                                                                      c2::u32 coded.bitrate.value = 64000
                                                                                                      c2::float coded.frame-rate.value = 1
                                                                                                      c2::u32 coded.picture-type.value = 0
                                                                                                      c2::u32 coded.pl.level = 24576
                                                                                                      c2::u32 coded.pl.profile = 24576
                                                                                                      c2::u32 coded.vui.color.matrix = 0
                                                                                                      c2::u32 coded.vui.color.primaries = 0
                                                                                                      c2::u32 coded.vui.color.range = 0
                                                                                                      c2::u32 coded.vui.color.transfer = 0
                                                                                                      c2::u32 coding.request-sync-frame.value = 0
                                                                                                      c2::i64 coding.sync-frame-interval.value = 1000000
                                                                                                      c2::u32 input.delay.value = 0
                                                                                                      string input.media-type.value = "video/raw"
                                                                                                      string output.media-type.value = "video/hevc"
                                                                                                      c2::u32 raw.color.matrix = 0
                                                                                                      c2::u32 raw.color.primaries = 0
                                                                                                      c2::u32 raw.color.range = 0
                                                                                                      c2::u32 raw.color.transfer = 0
                                                                                                      c2::u32 raw.size.height = 64
                                                                                                      c2::u32 raw.size.width = 64
                                                                                                    }
2024-09-22 16:33:31.030 17512-17621 ColorUtils              com.myapp               W  expected specified color aspects (0:0:0:0)
2024-09-22 16:33:31.045 17512-17627 hw-BpHwBinder           com.myapp               I  onLastStrongRef automatically unlinking death recipients
2024-09-22 16:33:31.045 17512-17619 CapabilitiesByQuality   com.myapp               E  No supported EncoderProfiles
2024-09-22 16:33:31.045 17512-17619 CapabilitiesByQuality   com.myapp               D  profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=1, mediaType=audio/3gpp, bitrate=12200, sampleRate=8000, channels=1, profile=-1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
2024-09-22 16:33:31.259 17512-17611 nativeloader            com.myapp               D  Configuring classloader-namespace for other apk /data/app/~~YdTSfYUR4q6b_menIphgOw==/com.google.android.trichromelibrary_561513534-191aT9XoGXGbqauD5YKXwg==/base.apk. target_sdk_version=33, uses_libraries=ALL, library_path=/data/app/~~1cmuq9cQIxsXuhCQH282lQ==/com.google.android.webview-3fK4PaS-007ebSHnUoHXvQ==/lib/arm64:/data/app/~~1cmuq9cQIxsXuhCQH282lQ==/com.google.android.webview-3fK4PaS-007ebSHnUoHXvQ==/base.apk!/lib/arm64-v8a:/data/app/~~YdTSfYUR4q6b_menIphgOw==/com.google.android.trichromelibrary_561513534-191aT9XoGXGbqauD5YKXwg==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand
2024-09-22 16:33:31.279 17512-17611 nativeloader            com.myapp               D  Configuring classloader-namespace for other apk /data/app/~~1cmuq9cQIxsXuhCQH282lQ==/com.google.android.webview-3fK4PaS-007ebSHnUoHXvQ==/base.apk. target_sdk_version=33, uses_libraries=, library_path=/data/app/~~1cmuq9cQIxsXuhCQH282lQ==/com.google.android.webview-3fK4PaS-007ebSHnUoHXvQ==/lib/arm64:/data/app/~~1cmuq9cQIxsXuhCQH282lQ==/com.google.android.webview-3fK4PaS-007ebSHnUoHXvQ==/base.apk!/lib/arm64-v8a:/data/app/~~YdTSfYUR4q6b_menIphgOw==/com.google.android.trichromelibrary_561513534-191aT9XoGXGbqauD5YKXwg==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand
2024-09-22 16:33:31.289 17512-17611 WebViewFactory          com.myapp               I  Loading com.google.android.webview version 112.0.5615.135 (code 561513534)
2024-09-22 16:33:31.355 17512-17611 cr_WVCFactoryProvider   com.myapp               I  Loaded version=112.0.5615.135 minSdkVersion=29 isBundle=true multiprocess=true packageId=2
2024-09-22 16:33:31.407 17512-17611 cr_LibraryLoader        com.myapp               I  Successfully loaded native library
2024-09-22 16:33:31.414 17512-17611 cr_CachingUmaRecorder   com.myapp               I  Flushed 9 samples from 9 histograms.
2024-09-22 16:33:31.476 17512-17636 TrafficStats            com.myapp               D  tagSocket(151) with statsTag=0xffffffff, statsUid=-1
2024-09-22 16:33:31.620 17512-17610 Realm                   com.myapp               V  setDefaultRealmFileDirectory
2024-09-22 16:33:31.620 17512-17610 Realm                   com.myapp               D  Absolute path: /data/data/com.myapp/files
2024-09-22 16:33:31.622 17512-17610 Realm                   com.myapp               V  Creating scheduler
2024-09-22 16:33:31.623 17512-17610 Realm                   com.myapp               V  install
2024-09-22 16:33:31.623 17512-17610 Realm                   com.myapp               V  Building an exports object
2024-09-22 16:33:31.623 17512-17610 Realm                   com.myapp               V  Initializing ...
2024-09-22 16:33:31.878 17512-17610 ReactNativeJS           com.myapp               I  ACTION={"type":"@@redux/INIT3.1.0.g.w.x.5"}

2024-09-22 16:33:35.713 12813-17464 ThirdPartyChatAppCtl    com.google.android.wearable.app      E  Unable to delete name com.myapp, error was An error occurred deleting data items: Status{statusCode=TIMEOUT, resolution=null}
2024-09-22 16:33:57.686 17512-17559 EGL_emulation           com.myapp               D  app_time_stats: avg=1712.42ms min=14.08ms max=22070.07ms count=13
2024-09-22 16:33:57.770 17512-17610 ReactNativeJS           com.myapp               I  'routeChanged', 'AutoRecognizePhoto'
2024-09-22 16:33:57.785 17512-17611 RNFBCrashlyticsInit     com.myapp               D  isCrashlyticsCollectionEnabled via RNFBMeta: true
2024-09-22 16:33:57.785 17512-17611 RNFBCrashlyticsInit     com.myapp               D  isCrashlyticsCollectionEnabled after checking crashlytics_debug_enabled: true
2024-09-22 16:33:57.785 17512-17611 RNFBCrashlyticsInit     com.myapp               D  isCrashlyticsCollectionEnabled final value: true
2024-09-22 16:33:59.002 17512-17559 EGL_emulation           com.myapp               D  app_time_stats: avg=62.12ms min=2.28ms max=551.76ms count=18
2024-09-22 16:34:00.417 17512-17559 EGL_emulation           com.myapp               D  app_time_stats: avg=66.46ms min=2.31ms max=978.88ms count=21
2024-09-22 16:34:00.645 17512-17610 CapabilitiesByQuality   com.myapp               D  profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=1, mediaType=audio/3gpp, bitrate=12200, sampleRate=8000, channels=1, profile=-1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
2024-09-22 16:34:00.674 17512-17610 BackupHdrP...esProvider com.myapp               D  Base Bitrate(12000000bps) * Bit Depth Ratio (10 / 8) = 15000000
2024-09-22 16:34:00.676 17512-17610 CapabilitiesByQuality   com.myapp               E  No supported EncoderProfiles
2024-09-22 16:34:00.676 17512-17610 CapabilitiesByQuality   com.myapp               D  profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=1, mediaType=audio/3gpp, bitrate=12200, sampleRate=8000, channels=1, profile=-1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
2024-09-22 16:34:00.739 17512-17512 CameraSession           com.myapp               I  Camera Lifecycle changed to CREATED!
2024-09-22 16:34:00.741 17512-17512 CameraView              com.myapp               I  Updating CameraSession...
2024-09-22 16:34:00.741 17512-17610 ReactNativeJS           com.myapp               I  Camera: 0 (BACK) androidx.camera.camera2 | Format: (352x288 photo / 1280x720@30 video @ 20fps)
2024-09-22 16:34:00.776 17512-17512 CameraView              com.myapp               I  Updating CameraSession...
2024-09-22 16:34:00.776 17512-17512 CameraView              com.myapp               I  Updating CameraSession...
2024-09-22 16:34:00.776 17512-17512 CameraSession           com.myapp               I  configure { ... }: Waiting for lock...
2024-09-22 16:34:00.776 17512-17512 CameraView              com.myapp               I  A new configure { ... } call arrived, aborting this one...
2024-09-22 16:34:00.780 17512-17512 CameraView              com.myapp               I  CameraView attached to window!
2024-09-22 16:34:00.788 17512-17512 CameraSession           com.myapp               I  configure { ... }: Waiting for lock...
2024-09-22 16:34:00.788 17512-17512 CameraSession           com.myapp               I  configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=true, outputsChanged=true, sidePropsChanged=true, isActiveChanged=true, orientationChanged=true, locationChanged=true)
2024-09-22 16:34:00.793 17512-17512 CameraSession           com.myapp               I  Creating new Outputs for Camera #0...
2024-09-22 16:34:00.793 17512-17512 CameraSession           com.myapp               I  Using FPS Range: [20, 20]
2024-09-22 16:34:00.793 17512-17512 CameraSession           com.myapp               I  Creating Preview output...
2024-09-22 16:34:00.795 17512-17512 CameraSession           com.myapp               I  Creating Photo output...
2024-09-22 16:34:00.795 17512-17512 CameraSession           com.myapp               I  Photo size: 352x288
2024-09-22 16:34:00.796 17512-17512 CameraSession           com.myapp               I  Creating Video output...
2024-09-22 16:34:00.796 17512-17512 CameraSession           com.myapp               I  Creating new Recorder...
2024-09-22 16:34:00.798 17512-17512 CameraSession           com.myapp               I  Video size: 1280x720
2024-09-22 16:34:00.799 17512-17512 CameraSession           com.myapp               I  Successfully created new Outputs for Camera #0!
2024-09-22 16:34:00.800 17512-17512 CameraSession           com.myapp               I  Binding Camera #0...
2024-09-22 16:34:00.801 17512-17512 CameraSession           com.myapp               I  Binding 3 use-cases...
2024-09-22 16:34:00.805 17512-17512 DeviceQuirks            com.myapp               D  core DeviceQuirks = SurfaceOrderQuirk
2024-09-22 16:34:00.817 17512-17512 CapabilitiesByQuality   com.myapp               D  profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=1, mediaType=audio/3gpp, bitrate=12200, sampleRate=8000, channels=1, profile=-1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
2024-09-22 16:34:00.817 17512-17512 QualitySelector         com.myapp               D  supportedQualities = [ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}]
2024-09-22 16:34:00.817 17512-17512 VideoCapture            com.myapp               D  Found selectedQualities [ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}] by QualitySelector{preferredQualities=[ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}], fallbackStrategy=RuleStrategy{fallbackQuality=ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}, fallbackRule=1}}
2024-09-22 16:34:00.818 17512-17512 VideoCapture            com.myapp               D  Set custom ordered resolutions = [1280x720]
2024-09-22 16:34:00.820 17512-17512 DynamicRangeResolver    com.myapp               D  Resolved dynamic range for use case androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc3900 to no compatible HDR dynamic ranges.
                                                                                                    DynamicRange@200064{encoding=UNSPECIFIED, bitDepth=0}
                                                                                                    ->
                                                                                                    DynamicRange@9b799f7{encoding=SDR, bitDepth=8}
2024-09-22 16:34:00.821 17512-17512 CameraQuirks            com.myapp               D  camera2 CameraQuirks = 
2024-09-22 16:34:00.821 17512-17512 CameraQuirks            com.myapp               D  camera2 CameraQuirks = 
2024-09-22 16:34:00.821 17512-17512 CameraQuirks            com.myapp               D  camera2 CameraQuirks = 
2024-09-22 16:34:00.822 17512-17512 DeferrableSurface       com.myapp               D  Surface created[total_surfaces=1, used_surfaces=0](androidx.camera.core.processing.SurfaceEdge$SettableSurface@ec1de93}
2024-09-22 16:34:00.829 17512-17512 DeferrableSurface       com.myapp               D  Surface created[total_surfaces=2, used_surfaces=0](androidx.camera.core.SurfaceRequest$2@21d0ef}
2024-09-22 16:34:00.830 17512-17512 DeferrableSurface       com.myapp               D  New surface in use[total_surfaces=2, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@21d0ef}
2024-09-22 16:34:00.830 17512-17512 DeferrableSurface       com.myapp               D  use count+1, useCount=1 androidx.camera.core.SurfaceRequest$2@21d0ef
2024-09-22 16:34:00.842 17512-17512 ImageCapture            com.myapp               D  createPipeline(cameraId: 0, streamSpec: StreamSpec{resolution=352x288, dynamicRange=DynamicRange@9b799f7{encoding=SDR, bitDepth=8}, expectedFrameRateRange=[15, 30], implementationOptions=androidx.camera.camera2.impl.Camera2ImplConfig@3cb97e8, zslDisabled=true})
2024-09-22 16:34:00.853 17512-17512 DeferrableSurface       com.myapp               D  Surface created[total_surfaces=3, used_surfaces=1](androidx.camera.core.impl.ImmediateSurface@b688e01}
2024-09-22 16:34:00.868 17512-17512 CapabilitiesByQuality   com.myapp               D  profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=1, mediaType=audio/3gpp, bitrate=12200, sampleRate=8000, channels=1, profile=-1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
2024-09-22 16:34:00.868 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Use case androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282 ACTIVE
2024-09-22 16:34:00.868 17512-17512 QualitySelector         com.myapp               D  supportedQualities = [ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}]
2024-09-22 16:34:00.868 17512-17512 VideoCapture            com.myapp               D  Found selectedQualities [ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}] by QualitySelector{preferredQualities=[ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}], fallbackStrategy=RuleStrategy{fallbackQuality=ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}, fallbackRule=1}}
2024-09-22 16:34:00.868 17512-17617 UseCaseAttachState      com.myapp               D  Active and attached use case: [] for camera: 0
2024-09-22 16:34:00.869 17512-17512 VideoCapture            com.myapp               D  Set custom ordered resolutions = [1280x720]
2024-09-22 16:34:00.869 17512-17512 VideoCapture            com.myapp               D  onSuggestedStreamSpecUpdated: StreamSpec{resolution=1280x720, dynamicRange=DynamicRange@9b799f7{encoding=SDR, bitDepth=8}, expectedFrameRateRange=[15, 30], implementationOptions=androidx.camera.camera2.impl.Camera2ImplConfig@6b64a94, zslDisabled=true}
2024-09-22 16:34:00.869 17512-17512 CameraView              com.myapp               I  invokeOnInitialized()
2024-09-22 16:34:00.870 17512-17512 CameraSession           com.myapp               I  Successfully bound Camera #0!
2024-09-22 16:34:00.870 17512-17512 CameraSession           com.myapp               I  Camera Lifecycle changed to STARTED!
2024-09-22 16:34:00.870 17512-17512 CameraView              com.myapp               I  PreviewView Stream State changed to IDLE
2024-09-22 16:34:00.870 17512-17512 VideoCapture            com.myapp               D  VideoCapture#onStateAttached: cameraID = 0
2024-09-22 16:34:00.871 17512-17512 CapabilitiesByQuality   com.myapp               D  profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=1, mediaType=audio/3gpp, bitrate=12200, sampleRate=8000, channels=1, profile=-1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
2024-09-22 16:34:00.871 17512-17512 CapabilitiesByQuality   com.myapp               D  Using supported quality of ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]} for size 1280x720
2024-09-22 16:34:00.872 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Use case androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917 ACTIVE
2024-09-22 16:34:00.872 17512-17617 UseCaseAttachState      com.myapp               D  Active and attached use case: [] for camera: 0
2024-09-22 16:34:00.872 17512-17512 VideoConfigUtil         com.myapp               D  MediaSpec video mime matches EncoderProfiles. Using EncoderProfiles to derive VIDEO settings [mime type: video/avc]
2024-09-22 16:34:00.872 17512-17512 VidEncVdPrflRslvr       com.myapp               D  Resolved frame rate 30fps [Video profile frame rate: 30fps, Expected operating range: <UNSPECIFIED>]
2024-09-22 16:34:00.872 17512-17512 VidEncVdPrflRslvr       com.myapp               D  Resolved VIDEO frame rate: 30fps
2024-09-22 16:34:00.872 17512-17512 VidEncVdPrflRslvr       com.myapp               D  Using resolved VIDEO bitrate from EncoderProfiles
2024-09-22 16:34:00.872 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Use case androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282 ACTIVE
2024-09-22 16:34:00.872 17512-17512 VideoConfigUtil         com.myapp               D  Base Bitrate(12000000bps) * Bit Depth Ratio (8 / 8) * Frame Rate Ratio(30 / 30) * Width Ratio(1280 / 1280) * Height Ratio(720 / 720) = 12000000
2024-09-22 16:34:00.872 17512-17512 VideoConfigUtil         com.myapp               W  Unsupported mime type video/avc or profile level -1. Data space is unspecified.
2024-09-22 16:34:00.872 17512-17617 UseCaseAttachState      com.myapp               D  Active and attached use case: [] for camera: 0
2024-09-22 16:34:00.874 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Use case androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539 INACTIVE
2024-09-22 16:34:00.874 17512-17617 UseCaseAttachState      com.myapp               D  Active and attached use case: [] for camera: 0
2024-09-22 16:34:00.875 17512-17617 UseCaseAttachState      com.myapp               D  Active and attached use case: [] for camera: 0
2024-09-22 16:34:00.882 17512-17512 MediaCodecList          com.myapp               D  codecHandlesFormat: no format, so no extra checks
2024-09-22 16:34:00.897 17512-17677 CCodec                  com.myapp               D  allocate(c2.android.avc.encoder)
2024-09-22 16:34:00.928 17512-17677 CCodec                  com.myapp               I  setting up 'default' as default (vendor) store
2024-09-22 16:34:00.991 17512-17677 CCodec                  com.myapp               I  Created component [c2.android.avc.encoder]
2024-09-22 16:34:00.993 17512-17677 CCodecConfig            com.myapp               D  read media type: video/avc
2024-09-22 16:34:00.996 17512-17677 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: algo.buffers.max-count.values
2024-09-22 16:34:00.996 17512-17677 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: output.subscribed-indices.values
2024-09-22 16:34:00.997 17512-17677 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: input.buffers.allocator-ids.values
2024-09-22 16:34:00.997 17512-17677 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: output.buffers.allocator-ids.values
2024-09-22 16:34:00.998 17512-17677 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: algo.buffers.allocator-ids.values
2024-09-22 16:34:00.998 17512-17677 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: output.buffers.pool-ids.values
2024-09-22 16:34:00.998 17512-17677 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: algo.buffers.pool-ids.values
2024-09-22 16:34:01.002 17512-17677 ReflectedParamUpdater   com.myapp               D  ignored struct field coding.gop.values
2024-09-22 16:34:01.002 17512-17677 ReflectedParamUpdater   com.myapp               D  ignored struct field coding.qp.values
2024-09-22 16:34:01.002 17512-17677 CCodecConfig            com.myapp               D  ignoring local param raw.color (0xc2001809) as it is already supported
2024-09-22 16:34:01.006 17512-17677 CCodecConfig            com.myapp               I  query failed after returning 12 values (BAD_INDEX)
2024-09-22 16:34:01.006 17512-17677 CCodecConfig            com.myapp               D  c2 config diff is Dict {
                                                                                                      c2::i32 coded.average-qp.value = 0
                                                                                                      c2::u32 coded.bitrate.value = 64000
                                                                                                      c2::float coded.frame-rate.value = 1
                                                                                                      c2::u32 coded.picture-type.value = 0
                                                                                                      c2::u32 coded.pl.level = 20492
                                                                                                      c2::u32 coded.pl.profile = 20481
                                                                                                      c2::u32 coded.vui.color.matrix = 0
                                                                                                      c2::u32 coded.vui.color.primaries = 0
                                                                                                      c2::u32 coded.vui.color.range = 0
                                                                                                      c2::u32 coded.vui.color.transfer = 0
                                                                                                      c2::u32 coding.intra-refresh.mode = 0
                                                                                                      c2::float coding.intra-refresh.period = 0
                                                                                                      c2::u32 coding.request-sync-frame.value = 0
                                                                                                      c2::i64 coding.sync-frame-interval.value = 1000000
                                                                                                      c2::u32 input.delay.value = 0
                                                                                                      string input.media-type.value = "video/raw"
                                                                                                      string output.media-type.value = "video/avc"
                                                                                                      c2::u32 raw.color.matrix = 0
                                                                                                      c2::u32 raw.color.primaries = 0
                                                                                                      c2::u32 raw.color.range = 0
                                                                                                      c2::u32 raw.color.transfer = 0
                                                                                                      c2::u32 raw.size.height = 16
                                                                                                      c2::u32 raw.size.width = 16
                                                                                                    }
2024-09-22 16:34:01.006 17512-17677 ColorUtils              com.myapp               W  expected specified color aspects (0:0:0:0)
2024-09-22 16:34:01.010 17512-17677 hw-BpHwBinder           com.myapp               I  onLastStrongRef automatically unlinking death recipients
2024-09-22 16:34:01.010 17512-17512 VideoCapture            com.myapp               D  camera timebase = UPTIME, processing timebase = UPTIME
2024-09-22 16:34:01.010 17512-17512 DeferrableSurface       com.myapp               D  Surface created[total_surfaces=4, used_surfaces=1](androidx.camera.core.processing.SurfaceEdge$SettableSurface@f27fc39}
2024-09-22 16:34:01.010 17512-17512 DeferrableSurface       com.myapp               D  Surface created[total_surfaces=5, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@58322f5}
2024-09-22 16:34:01.011 17512-17512 DeferrableSurface       com.myapp               D  New surface in use[total_surfaces=5, used_surfaces=2](androidx.camera.core.SurfaceRequest$2@58322f5}
2024-09-22 16:34:01.011 17512-17512 DeferrableSurface       com.myapp               D  use count+1, useCount=1 androidx.camera.core.SurfaceRequest$2@58322f5
2024-09-22 16:34:01.011 17512-17512 Recorder                com.myapp               D  Surface is requested in state: CONFIGURING, Current surface: 0
2024-09-22 16:34:01.012 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Use case androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539 ACTIVE
2024-09-22 16:34:01.013 17512-17618 UseCaseAttachState      com.myapp               D  Active and attached use case: [] for camera: 0
2024-09-22 16:34:01.013 17512-17512 CameraSession           com.myapp               I  Camera State: CLOSED (has error: false)
2024-09-22 16:34:01.013 17512-17512 CameraSession           com.myapp               I  Camera Lifecycle changed to RESUMED!
2024-09-22 16:34:01.013 17512-17512 OrientationManager      com.myapp               I  Target Orientation changed DEVICE -> DEVICE!
2024-09-22 16:34:01.013 17512-17512 OrientationManager      com.myapp               I  Starting streaming device and screen orientation updates...
2024-09-22 16:34:01.014 17512-17680 CapabilitiesByQuality   com.myapp               D  profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=1, mediaType=audio/3gpp, bitrate=12200, sampleRate=8000, channels=1, profile=-1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
2024-09-22 16:34:01.014 17512-17680 Recorder                com.myapp               D  Using supported quality of ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]} for surface size 1280x720
2024-09-22 16:34:01.015 17512-17680 Recorder                com.myapp               D  Try to safely release video encoder: null
2024-09-22 16:34:01.015 17512-17680 Recorder                com.myapp               D  Video source has transitioned to state: ACTIVE_NON_STREAMING
2024-09-22 16:34:01.015 17512-17680 VideoEncoderSession     com.myapp               D  Create VideoEncoderSession: VideoEncoderSession@159019727 for androidx.camera.core.SurfaceRequest@358582c
2024-09-22 16:34:01.015 17512-17680 VideoConfigUtil         com.myapp               D  MediaSpec video mime matches EncoderProfiles. Using EncoderProfiles to derive VIDEO settings [mime type: video/avc]
2024-09-22 16:34:01.015 17512-17680 VidEncVdPrflRslvr       com.myapp               D  Resolved frame rate 30fps [Video profile frame rate: 30fps, Expected operating range: <UNSPECIFIED>]
2024-09-22 16:34:01.015 17512-17680 VidEncVdPrflRslvr       com.myapp               D  Resolved VIDEO frame rate: 30fps
2024-09-22 16:34:01.015 17512-17680 VidEncVdPrflRslvr       com.myapp               D  Using resolved VIDEO bitrate from EncoderProfiles
2024-09-22 16:34:01.015 17512-17680 VideoConfigUtil         com.myapp               D  Base Bitrate(12000000bps) * Bit Depth Ratio (8 / 8) * Frame Rate Ratio(30 / 30) * Width Ratio(1280 / 1280) * Height Ratio(720 / 720) = 12000000
2024-09-22 16:34:01.016 17512-17680 VideoConfigUtil         com.myapp               W  Unsupported mime type video/avc or profile level -1. Data space is unspecified.
2024-09-22 16:34:01.016 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Use cases [androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917, androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282, androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539] now ATTACHED
2024-09-22 16:34:01.016 17512-17618 Camera2CameraControlImp com.myapp               D  setActive: isActive = true
2024-09-22 16:34:01.017 17512-17512 MetadataProvider        com.myapp               I  Stopping location updates...
2024-09-22 16:34:01.017 17512-17512 CameraSession           com.myapp               I  configure { ... }: Completed CameraSession Configuration! (State: RESUMED)
2024-09-22 16:34:01.017 17512-17512 CameraSession           com.myapp               I  configure { ... }: Waiting for lock...
2024-09-22 16:34:01.017 17512-17512 CameraSession           com.myapp               I  Nothing changed, aborting configure { ... }
2024-09-22 16:34:01.019 17512-17512 CameraSession           com.myapp               I  Preview orientation changed! PORTRAIT
2024-09-22 16:34:01.019 17512-17512 CameraView              com.myapp               I  invokeOnPreviewOrientationChanged(PORTRAIT)
2024-09-22 16:34:01.019 17512-17512 CameraSession           com.myapp               I  Output orientation changed! PORTRAIT
2024-09-22 16:34:01.019 17512-17512 CameraView              com.myapp               I  invokeOnOutputOrientationChanged(PORTRAIT)
2024-09-22 16:34:01.020 17512-17610 ReactNativeJS           com.myapp               I  Camera initialized!
2024-09-22 16:34:01.020 17512-17512 PreviewView             com.myapp               D  Surface requested by Preview.
2024-09-22 16:34:01.020 17512-17680 MediaCodecList          com.myapp               D  codecHandlesFormat: no format, so no extra checks
2024-09-22 16:34:01.021 17512-17512 DeviceQuirks            com.myapp               D  view DeviceQuirks = 
2024-09-22 16:34:01.023 17512-17618 UseCaseAttachState      com.myapp               D  All use case: [androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282, androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917, androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539] for camera: 0
2024-09-22 16:34:01.023 17512-17618 Camera2CameraImpl       com.myapp               D  No need to remove a previous mMeteringRepeating, SessionConfig Surfaces: 3, CaptureConfig Surfaces: 1
2024-09-22 16:34:01.023 17512-17682 CCodec                  com.myapp               D  allocate(c2.android.avc.encoder)
2024-09-22 16:34:01.024 17512-17618 UseCaseAttachState      com.myapp               D  Active and attached use case: [androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282, androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917, androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539] for camera: 0
2024-09-22 16:34:01.025 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Resetting Capture Session
2024-09-22 16:34:01.025 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Skipping Capture Session state check due to current camera state: INITIALIZED and previous session status: false
2024-09-22 16:34:01.025 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Releasing session in state INITIALIZED
2024-09-22 16:34:01.025 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Attempting to force open the camera.
2024-09-22 16:34:01.026 17512-17618 CameraStateRegistry     com.myapp               D  tryOpenCamera(Camera@c6c8309[id=0]) [Available Cameras: 1, Already Open: false (Previous state: null)] --> SUCCESS
2024-09-22 16:34:01.026 17512-17618 CameraStateRegistry     com.myapp               D  Recalculating open cameras:
                                                                                                    Camera                                       State                 
                                                                                                    -------------------------------------------------------------------
                                                                                                    Camera@409581a[id=1]                         UNKNOWN               
                                                                                                    Camera@c6c8309[id=0]                         OPENING               
                                                                                                    -------------------------------------------------------------------
                                                                                                    Open count: 1 (Max allowed: 1)
2024-09-22 16:34:01.027 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Opening camera.
2024-09-22 16:34:01.028 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Transitioning camera internal state: INITIALIZED --> OPENING
2024-09-22 16:34:01.028 17512-17618 CameraStateMachine      com.myapp               D  New public camera state CameraState{type=OPENING, error=null} from OPENING and null
2024-09-22 16:34:01.028 17512-17618 CameraStateMachine      com.myapp               D  Publishing new public camera state CameraState{type=OPENING, error=null}
2024-09-22 16:34:01.028 17512-17618 UseCaseAttachState      com.myapp               D  All use case: [androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282, androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917, androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539] for camera: 0
2024-09-22 16:34:01.034 17512-17682 CCodec                  com.myapp               I  setting up 'default' as default (vendor) store
2024-09-22 16:34:01.037 17512-17682 CCodec                  com.myapp               I  Created component [c2.android.avc.encoder]
2024-09-22 16:34:01.039 17512-17682 CCodecConfig            com.myapp               D  read media type: video/avc
2024-09-22 16:34:01.047 17512-17682 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: algo.buffers.max-count.values
2024-09-22 16:34:01.049 17512-17682 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: output.subscribed-indices.values
2024-09-22 16:34:01.050 17512-17682 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: input.buffers.allocator-ids.values
2024-09-22 16:34:01.051 17512-17682 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: output.buffers.allocator-ids.values
2024-09-22 16:34:01.052 17512-17682 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: algo.buffers.allocator-ids.values
2024-09-22 16:34:01.054 17512-17682 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: output.buffers.pool-ids.values
2024-09-22 16:34:01.054 17512-17682 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: algo.buffers.pool-ids.values
2024-09-22 16:34:01.060 17512-17512 VideoCapture            com.myapp               D  Stream info update: old: StreamInfo{id=0, streamState=INACTIVE, inProgressTransformationInfo=null} new: StreamInfo{id=0, streamState=INACTIVE, inProgressTransformationInfo=null}
2024-09-22 16:34:01.060 17512-17512 CameraSession           com.myapp               I  Camera State: OPENING (has error: false)
2024-09-22 16:34:01.061 17512-17682 ReflectedParamUpdater   com.myapp               D  ignored struct field coding.gop.values
2024-09-22 16:34:01.061 17512-17682 ReflectedParamUpdater   com.myapp               D  ignored struct field coding.qp.values
2024-09-22 16:34:01.063 17512-17682 CCodecConfig            com.myapp               D  ignoring local param raw.color (0xc2001809) as it is already supported
2024-09-22 16:34:01.065 17512-17682 CCodecConfig            com.myapp               I  query failed after returning 12 values (BAD_INDEX)
2024-09-22 16:34:01.065 17512-17682 CCodecConfig            com.myapp               D  c2 config diff is Dict {
                                                                                                      c2::i32 coded.average-qp.value = 0
                                                                                                      c2::u32 coded.bitrate.value = 64000
                                                                                                      c2::float coded.frame-rate.value = 1
                                                                                                      c2::u32 coded.picture-type.value = 0
                                                                                                      c2::u32 coded.pl.level = 20492
                                                                                                      c2::u32 coded.pl.profile = 20481
                                                                                                      c2::u32 coded.vui.color.matrix = 0
                                                                                                      c2::u32 coded.vui.color.primaries = 0
                                                                                                      c2::u32 coded.vui.color.range = 0
                                                                                                      c2::u32 coded.vui.color.transfer = 0
                                                                                                      c2::u32 coding.intra-refresh.mode = 0
                                                                                                      c2::float coding.intra-refresh.period = 0
                                                                                                      c2::u32 coding.request-sync-frame.value = 0
                                                                                                      c2::i64 coding.sync-frame-interval.value = 1000000
                                                                                                      c2::u32 input.delay.value = 0
                                                                                                      string input.media-type.value = "video/raw"
                                                                                                      string output.media-type.value = "video/avc"
                                                                                                      c2::u32 raw.color.matrix = 0
                                                                                                      c2::u32 raw.color.primaries = 0
                                                                                                      c2::u32 raw.color.range = 0
                                                                                                      c2::u32 raw.color.transfer = 0
                                                                                                      c2::u32 raw.size.height = 16
                                                                                                      c2::u32 raw.size.width = 16
                                                                                                    }
2024-09-22 16:34:01.065 17512-17682 ColorUtils              com.myapp               W  expected specified color aspects (0:0:0:0)
2024-09-22 16:34:01.066 17512-17680 VideoEncoder            com.myapp               D  mInputTimebase = UPTIME
2024-09-22 16:34:01.066 17512-17680 VideoEncoder            com.myapp               D  mMediaFormat = {color-format=2130708361, i-frame-interval=1, mime=video/avc, width=1280, bitrate=12000000, frame-rate=30, height=720}
2024-09-22 16:34:01.072 17512-17682 hw-BpHwBinder           com.myapp               I  onLastStrongRef automatically unlinking death recipients
2024-09-22 16:34:01.073 17512-17682 CCodec                  com.myapp               D  allocate(c2.android.avc.encoder)
2024-09-22 16:34:01.078 17512-17682 CCodec                  com.myapp               I  setting up 'default' as default (vendor) store
2024-09-22 16:34:01.082 17512-17512 SurfaceViewImpl         com.myapp               D  Surface created.
2024-09-22 16:34:01.083 17512-17512 SurfaceViewImpl         com.myapp               D  Surface changed. Size: 1280x720
2024-09-22 16:34:01.084 17512-17611 CameraDevices           com.myapp               I  Camera #0 is now unavailable.
2024-09-22 16:34:01.089 17512-17682 CCodec                  com.myapp               I  Created component [c2.android.avc.encoder]
2024-09-22 16:34:01.089 17512-17682 CCodecConfig            com.myapp               D  read media type: video/avc
2024-09-22 16:34:01.093 17512-17512 PreviewView             com.myapp               D  Preview transformation info updated. TransformationInfo{getCropRect=Rect(0, 0 - 1280, 720), getRotationDegrees=90, getTargetRotation=0, hasCameraTransform=true, getSensorToBufferTransform=Matrix{[1.0, 0.0, 0.0][0.0, 1.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false}
2024-09-22 16:34:01.093 17512-17512 PreviewTransform        com.myapp               D  Transformation info set: TransformationInfo{getCropRect=Rect(0, 0 - 1280, 720), getRotationDegrees=90, getTargetRotation=0, hasCameraTransform=true, getSensorToBufferTransform=Matrix{[1.0, 0.0, 0.0][0.0, 1.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false} 1280x720 false
2024-09-22 16:34:01.094 17512-17512 SurfaceViewImpl         com.myapp               D  Surface set on Preview.
2024-09-22 16:34:01.096 17512-17682 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: algo.buffers.max-count.values
2024-09-22 16:34:01.096 17512-17682 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: output.subscribed-indices.values
2024-09-22 16:34:01.096 17512-17682 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: input.buffers.allocator-ids.values
2024-09-22 16:34:01.097 17512-17682 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: output.buffers.allocator-ids.values
2024-09-22 16:34:01.097 17512-17682 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: algo.buffers.allocator-ids.values
2024-09-22 16:34:01.097 17512-17682 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: output.buffers.pool-ids.values
2024-09-22 16:34:01.097 17512-17682 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: algo.buffers.pool-ids.values
2024-09-22 16:34:01.098 17512-17682 ReflectedParamUpdater   com.myapp               D  ignored struct field coding.gop.values
2024-09-22 16:34:01.098 17512-17682 ReflectedParamUpdater   com.myapp               D  ignored struct field coding.qp.values
2024-09-22 16:34:01.098 17512-17682 CCodecConfig            com.myapp               D  ignoring local param raw.color (0xc2001809) as it is already supported
2024-09-22 16:34:01.098 17512-17682 CCodecConfig            com.myapp               I  query failed after returning 12 values (BAD_INDEX)
2024-09-22 16:34:01.098 17512-17682 CCodecConfig            com.myapp               D  c2 config diff is Dict {
                                                                                                      c2::i32 coded.average-qp.value = 0
                                                                                                      c2::u32 coded.bitrate.value = 64000
                                                                                                      c2::float coded.frame-rate.value = 1
                                                                                                      c2::u32 coded.picture-type.value = 0
                                                                                                      c2::u32 coded.pl.level = 20492
                                                                                                      c2::u32 coded.pl.profile = 20481
                                                                                                      c2::u32 coded.vui.color.matrix = 0
                                                                                                      c2::u32 coded.vui.color.primaries = 0
                                                                                                      c2::u32 coded.vui.color.range = 0
                                                                                                      c2::u32 coded.vui.color.transfer = 0
                                                                                                      c2::u32 coding.intra-refresh.mode = 0
                                                                                                      c2::float coding.intra-refresh.period = 0
                                                                                                      c2::u32 coding.request-sync-frame.value = 0
                                                                                                      c2::i64 coding.sync-frame-interval.value = 1000000
                                                                                                      c2::u32 input.delay.value = 0
                                                                                                      string input.media-type.value = "video/raw"
                                                                                                      string output.media-type.value = "video/avc"
                                                                                                      c2::u32 raw.color.matrix = 0
                                                                                                      c2::u32 raw.color.primaries = 0
                                                                                                      c2::u32 raw.color.range = 0
                                                                                                      c2::u32 raw.color.transfer = 0
                                                                                                      c2::u32 raw.size.height = 16
                                                                                                      c2::u32 raw.size.width = 16
                                                                                                    }
2024-09-22 16:34:01.099 17512-17682 ColorUtils              com.myapp               W  expected specified color aspects (0:0:0:0)
2024-09-22 16:34:01.101 17512-17681 MediaCodec              com.myapp               I  MediaCodec will operate in async mode
2024-09-22 16:34:01.146 17512-17610 ReactNativeJS           com.myapp               I  Preview orientation changed to portrait!
2024-09-22 16:34:01.146 17512-17610 ReactNativeJS           com.myapp               I  UI Rotation changed: 0°
2024-09-22 16:34:01.147 17512-17610 ReactNativeJS           com.myapp               I  Output orientation changed to portrait!
2024-09-22 16:34:01.213 17512-17680 CodecSeeding            com.myapp               D  Seed: codec c2.android.avc.encoder, mediatype video/avc, overrideable 1
2024-09-22 16:34:01.213 17512-17680 CodecProperties         com.myapp               D  setTuningValue(vq-target-bpp,0)
2024-09-22 16:34:01.213 17512-17680 CodecProperties         com.myapp               D  setTuningValue(vq-target-bpp-1080p,1.90)
2024-09-22 16:34:01.216 17512-17680 CodecProperties         com.myapp               D  setTuningValue(vq-target-bpp-720p,2.25)
2024-09-22 16:34:01.216 17512-17680 CodecProperties         com.myapp               D  setTuningValue(vq-target-bpp-540p,2.65)
2024-09-22 16:34:01.216 17512-17680 CodecProperties         com.myapp               D  setTuningValue(vq-target-bpp-480p,3.00)
2024-09-22 16:34:01.216 17512-17680 CodecProperties         com.myapp               D  setTuningValue(vq-target-bpp-320x240,0)
2024-09-22 16:34:01.216 17512-17680 CodecProperties         com.myapp               D  setTuningValue(vq-target-qpmax,-1)
2024-09-22 16:34:01.216 17512-17680 CodecProperties         com.myapp               D  setTuningValue(vq-target-qpmax-1080p,45)
2024-09-22 16:34:01.216 17512-17680 CodecProperties         com.myapp               D  setTuningValue(vq-target-qpmax-720p,43)
2024-09-22 16:34:01.216 17512-17680 CodecProperties         com.myapp               D  setTuningValue(vq-target-qpmax-540p,42)
2024-09-22 16:34:01.216 17512-17680 CodecProperties         com.myapp               D  setTuningValue(vq-target-qpmax-480p,38)
2024-09-22 16:34:01.216 17512-17680 CodecProperties         com.myapp               D  setTuningValue(vq-bitrate-phaseout,1.75)
2024-09-22 16:34:01.216 17512-17680 CodecProperties         com.myapp               D  setTuningValue(vq-boost-missing-qp,0.20)
2024-09-22 16:34:01.216 17512-17680 CodecProperties         com.myapp               D  setFeatureValue(intra-refresh,0)
2024-09-22 16:34:01.216 17512-17680 CodecProperties         com.myapp               D  setFeatureValue(qp-bounds,0)
2024-09-22 16:34:01.216 17512-17680 CodecProperties         com.myapp               D  setFeatureValue(_vq_eligible.device,1)
2024-09-22 16:34:01.216 17512-17680 CodecProperties         com.myapp               D  setFeatureValue(_quality.target,1)
2024-09-22 16:34:01.216 17512-17680 CodecSeeding            com.myapp               D  Seed: codec c2.android.avc.encoder, mediatype video/avc, overrideable 0
2024-09-22 16:34:01.225   594-1708  CameraService_proxy     system_server                        E  Recent tasks don't include camera client package name: com.myapp
2024-09-22 16:34:01.225 17512-17680 MediaCodec              com.myapp               D  shapeMediaFormat: deltas(1): AMessage(what = 0x00000000) = {
                                                                                                        int32_t android._encoding-quality-level = 0
                                                                                                      }
2024-09-22 16:34:01.232 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Use case androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917 ACTIVE
2024-09-22 16:34:01.238 17512-17618 UseCaseAttachState      com.myapp               D  Active and attached use case: [androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282, androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917, androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539] for camera: 0
2024-09-22 16:34:01.246 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Use case androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282 ACTIVE
2024-09-22 16:34:01.255 17512-17682 CCodec                  com.myapp               D  [c2.android.avc.encoder] buffers are bound to CCodec for this session
2024-09-22 16:34:01.255 17512-17682 CCodecConfig            com.myapp               D  no c2 equivalents for color-format
2024-09-22 16:34:01.255 17512-17682 CCodecConfig            com.myapp               D  no c2 equivalents for flags
2024-09-22 16:34:01.255 17512-17682 CCodecConfig            com.myapp               D  no c2 equivalents for encoder
2024-09-22 16:34:01.267 17512-17682 CCodecConfig            com.myapp               D  c2 config diff is   c2::u32 coded.bitrate.value = 12000000
                                                                                                      c2::float coded.frame-rate.value = 30
                                                                                                      c2::u32 raw.size.height = 720
                                                                                                      c2::u32 raw.size.width = 1280
2024-09-22 16:34:01.267 17512-17682 ColorUtils              com.myapp               W  expected specified color aspects (0:0:0:0)
2024-09-22 16:34:01.268 17512-17682 CCodec                  com.myapp               D  encoding statistics level = 0
2024-09-22 16:34:01.268 17512-17682 CCodec                  com.myapp               D  setup formats input: AMessage(what = 0x00000000) = {
                                                                                                      Rect crop(0, 0, 1279, 719)
                                                                                                      int32_t color-standard = 0
                                                                                                      int32_t color-range = 0
                                                                                                      int32_t color-transfer = 0
                                                                                                      int32_t frame-rate = 30
                                                                                                      int32_t height = 720
                                                                                                      int32_t intra-refresh-period = 0
                                                                                                      string mime = "video/raw"
                                                                                                      int32_t video-qp-average = 0
                                                                                                      int32_t width = 1280
                                                                                                      int32_t android._dataspace = 0
                                                                                                      int32_t using-sw-read-often = 1
                                                                                                      int64_t android._C2MemoryUsage = 1
                                                                                                      int32_t color-format = 2130708361
                                                                                                      int32_t android._color-format = 2130708361
                                                                                                    }
2024-09-22 16:34:01.268 17512-17682 CCodec                  com.myapp               D  setup formats output: AMessage(what = 0x00000000) = {
                                                                                                      int32_t bitrate = 12000000
                                                                                                      Rect crop(0, 0, 1279, 719)
                                                                                                      int32_t color-standard = 0
                                                                                                      int32_t color-range = 0
                                                                                                      int32_t color-transfer = 0
                                                                                                      int32_t frame-rate = 30
                                                                                                      int32_t height = 720
                                                                                                      int32_t intra-refresh-period = 0
                                                                                                      int32_t level = 4096
                                                                                                      int32_t max-bitrate = 12000000
                                                                                                      string mime = "video/avc"
                                                                                                      int32_t profile = 65536
                                                                                                      int32_t video-qp-average = 0
                                                                                                      int32_t width = 1280
                                                                                                    }
2024-09-22 16:34:01.269 17512-17682 CCodecConfig            com.myapp               I  query failed after returning 13 values (BAD_INDEX)
2024-09-22 16:34:01.280 17512-17618 UseCaseAttachState      com.myapp               D  Active and attached use case: [androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282, androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917, androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539] for camera: 0
2024-09-22 16:34:01.281 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Use case androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539 ACTIVE
2024-09-22 16:34:01.288 17512-17618 UseCaseAttachState      com.myapp               D  Active and attached use case: [androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282, androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917, androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539] for camera: 0
2024-09-22 16:34:01.289 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} CameraDevice.onOpened()
2024-09-22 16:34:01.289 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Transitioning camera internal state: OPENING --> OPENED
2024-09-22 16:34:01.290 17512-17618 CameraStateRegistry     com.myapp               D  Recalculating open cameras:
                                                                                                    Camera                                       State                 
                                                                                                    -------------------------------------------------------------------
                                                                                                    Camera@409581a[id=1]                         UNKNOWN               
                                                                                                    Camera@c6c8309[id=0]                         OPEN                  
                                                                                                    -------------------------------------------------------------------
                                                                                                    Open count: 1 (Max allowed: 1)
2024-09-22 16:34:01.290 17512-17618 CameraStateMachine      com.myapp               D  New public camera state CameraState{type=OPEN, error=null} from OPEN and null
2024-09-22 16:34:01.290 17512-17618 CameraStateMachine      com.myapp               D  Publishing new public camera state CameraState{type=OPEN, error=null}
2024-09-22 16:34:01.291 17512-17618 UseCaseAttachState      com.myapp               D  All use case: [androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282, androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917, androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539] for camera: 0
2024-09-22 16:34:01.293 17512-17512 CameraView              com.myapp               I  Updating CameraSession...
2024-09-22 16:34:01.293 17512-17512 CameraSession           com.myapp               I  Camera State: OPEN (has error: false)
2024-09-22 16:34:01.293 17512-17512 CameraView              com.myapp               I  invokeOnStarted()
2024-09-22 16:34:01.293 17512-17512 CameraSession           com.myapp               I  configure { ... }: Waiting for lock...
2024-09-22 16:34:01.293 17512-17512 CameraSession           com.myapp               I  configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=false, outputsChanged=false, sidePropsChanged=false, isActiveChanged=true, orientationChanged=false, locationChanged=false)
2024-09-22 16:34:01.293 17512-17512 CameraSession           com.myapp               I  Camera Lifecycle changed to STARTED!
2024-09-22 16:34:01.294 17512-17512 ScreenFlashWrapper      com.myapp               W  completePendingScreenFlashClear: none pending!
2024-09-22 16:34:01.294 17512-17512 VideoCapture            com.myapp               D  VideoCapture#onStateDetached
2024-09-22 16:34:01.294 17512-17512 VideoCapture            com.myapp               D  SourceStreamRequirementObserver#close: mIsSourceStreamRequired = false
2024-09-22 16:34:01.294 17512-17512 VideoCapture            com.myapp               D  VideoCapture is detached from the camera. Surface update cancelled.
2024-09-22 16:34:01.294 17512-17512 DeferrableSurface       com.myapp               D  surface closed,  useCount=1 closed=true androidx.camera.core.SurfaceRequest$2@58322f5
2024-09-22 16:34:01.294 17512-17512 DeferrableSurface       com.myapp               D  surface closed,  useCount=0 closed=true androidx.camera.core.processing.SurfaceEdge$SettableSurface@f27fc39
2024-09-22 16:34:01.294 17512-17512 DeferrableSurface       com.myapp               D  Surface terminated[total_surfaces=4, used_surfaces=2](androidx.camera.core.processing.SurfaceEdge$SettableSurface@f27fc39}
2024-09-22 16:34:01.294 17512-17512 DeferrableSurface       com.myapp               D  use count-1,  useCount=0 closed=true androidx.camera.core.SurfaceRequest$2@58322f5
2024-09-22 16:34:01.294 17512-17512 DeferrableSurface       com.myapp               D  Surface no longer in use[total_surfaces=4, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@58322f5}
2024-09-22 16:34:01.294 17512-17512 DeferrableSurface       com.myapp               D  Surface terminated[total_surfaces=3, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@58322f5}
2024-09-22 16:34:01.295 17512-17512 CameraSession           com.myapp               I  Camera Lifecycle changed to CREATED!
2024-09-22 16:34:01.295 17512-17512 CameraSession           com.myapp               I  configure { ... }: Completed CameraSession Configuration! (State: CREATED)
2024-09-22 16:34:01.296 17512-17618 UseCaseAttachState      com.myapp               D  Active and attached use case: [androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282, androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917, androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539] for camera: 0
2024-09-22 16:34:01.297 17512-17682 CCodec                  com.myapp               D  input format changed to AMessage(what = 0x00000000) = {
                                                                                                      Rect crop(0, 0, 1279, 719)
                                                                                                      int32_t color-standard = 1
                                                                                                      int32_t color-range = 2
                                                                                                      int32_t color-transfer = 3
                                                                                                      int32_t frame-rate = 30
                                                                                                      int32_t height = 720
                                                                                                      int32_t intra-refresh-period = 0
                                                                                                      string mime = "video/raw"
                                                                                                      int32_t video-qp-average = 0
                                                                                                      int32_t width = 1280
                                                                                                      int32_t android._dataspace = 260
                                                                                                      int32_t using-sw-read-often = 1
                                                                                                      int64_t android._C2MemoryUsage = 1
                                                                                                      int32_t color-format = 2130708361
                                                                                                      int32_t android._color-format = 2130708361
                                                                                                    }
2024-09-22 16:34:01.298 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Use cases [androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917, androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282, androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539] now DETACHED for camera
2024-09-22 16:34:01.298 17512-17618 UseCaseAttachState      com.myapp               D  All use case: [] for camera: 0
2024-09-22 16:34:01.298 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Resetting Capture Session
2024-09-22 16:34:01.298 17512-17610 ReactNativeJS           com.myapp               I  Camera started!
2024-09-22 16:34:01.299 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Releasing session in state OPENED
2024-09-22 16:34:01.299 17512-17618 Camera2CameraControlImp com.myapp               D  setActive: isActive = false
2024-09-22 16:34:01.299 17512-17618 UseCaseAttachState      com.myapp               D  Active and attached use case: [] for camera: 0
2024-09-22 16:34:01.299 17512-17618 UseCaseAttachState      com.myapp               D  Active and attached use case: [] for camera: 0
2024-09-22 16:34:01.299 17512-17618 VideoUsageControl       com.myapp               D  resetDirectly: mVideoUsage reset!
2024-09-22 16:34:01.300 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Closing camera.
2024-09-22 16:34:01.300 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Transitioning camera internal state: OPENED --> CLOSING
2024-09-22 16:34:01.300 17512-17618 CameraStateRegistry     com.myapp               D  Recalculating open cameras:
                                                                                                    Camera                                       State                 
                                                                                                    -------------------------------------------------------------------
                                                                                                    Camera@409581a[id=1]                         UNKNOWN               
                                                                                                    Camera@c6c8309[id=0]                         CLOSING               
                                                                                                    -------------------------------------------------------------------
                                                                                                    Open count: 1 (Max allowed: 1)
2024-09-22 16:34:01.300 17512-17618 CameraStateMachine      com.myapp               D  New public camera state CameraState{type=CLOSING, error=null} from CLOSING and null
2024-09-22 16:34:01.300 17512-17618 CameraStateMachine      com.myapp               D  Publishing new public camera state CameraState{type=CLOSING, error=null}
2024-09-22 16:34:01.300 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Resetting Capture Session
2024-09-22 16:34:01.300 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Skipping Capture Session state check due to current camera state: CLOSING and previous session status: false
2024-09-22 16:34:01.301 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Releasing session in state CLOSING
2024-09-22 16:34:01.301 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} closing camera
2024-09-22 16:34:01.303 17512-17682 GraphicBufferSource     com.myapp               D  setting dataspace: 0x104, acquired=0
2024-09-22 16:34:01.303 17512-17682 CCodec                  com.myapp               D  ISConfig not changed
2024-09-22 16:34:01.304 17512-17680 VideoEncoder            com.myapp               D  Transitioning encoder internal state: null --> CONFIGURED
2024-09-22 16:34:01.305 17512-17680 Recorder                com.myapp               D  Video source has transitioned to state: INACTIVE
2024-09-22 16:34:01.305 17512-17680 Recorder                com.myapp               D  Transitioning audio state: INITIALIZING --> INITIALIZING
2024-09-22 16:34:01.305 17512-17680 VideoEncoderSession     com.myapp               D  Not provide surface, androidx.camera.core.SurfaceRequest@358582c is already serviced.
2024-09-22 16:34:01.305 17512-17680 VideoEncoderSession     com.myapp               D  VideoEncoder is releasing: androidx.camera.video.internal.encoder.EncoderImpl@60f4cb5
2024-09-22 16:34:01.305 17512-17680 Recorder                com.myapp               D  VideoEncoder is created. null
2024-09-22 16:34:01.308 17512-17682 hw-BpHwBinder           com.myapp               I  onLastStrongRef automatically unlinking death recipients
2024-09-22 16:34:01.309 17512-17693 VideoEncoder            com.myapp               D  Transitioning encoder internal state: CONFIGURED --> RELEASED
2024-09-22 16:34:01.310 17512-17681 BpBinder                com.myapp               I  onLastStrongRef automatically unlinking death recipients: android.media.IResourceManagerService
2024-09-22 16:34:01.329 17512-17611 CameraDevices           com.myapp               I  Camera #0 is now available.
2024-09-22 16:34:01.331 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} CameraDevice.onClosed()
2024-09-22 16:34:01.331 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Transitioning camera internal state: CLOSING --> INITIALIZED
2024-09-22 16:34:01.332 17512-17618 CameraStateRegistry     com.myapp               D  Recalculating open cameras:
                                                                                                    Camera                                       State                 
                                                                                                    -------------------------------------------------------------------
                                                                                                    Camera@409581a[id=1]                         UNKNOWN               
                                                                                                    Camera@c6c8309[id=0]                         CLOSED                
                                                                                                    -------------------------------------------------------------------
                                                                                                    Open count: 0 (Max allowed: 1)
2024-09-22 16:34:01.332 17512-17618 CameraStateMachine      com.myapp               D  New public camera state CameraState{type=CLOSED, error=null} from CLOSED and null
2024-09-22 16:34:01.332 17512-17618 CameraStateMachine      com.myapp               D  Publishing new public camera state CameraState{type=CLOSED, error=null}
2024-09-22 16:34:01.332 17512-17618 UseCaseAttachState      com.myapp               D  Active and attached use case: [] for camera: 0
2024-09-22 16:34:01.332 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Unable to configure camera cancelled
2024-09-22 16:34:01.523 17512-17512 Compatibil...geReporter com.myapp               D  Compat change id reported: 78294732; UID 10161; state: ENABLED
2024-09-22 16:34:01.592 17512-17697 TrafficStats            com.myapp               D  tagSocket(98) with statsTag=0xffffffff, statsUid=-1
2024-09-22 16:34:01.600 17512-17512 CameraView              com.myapp               I  Updating CameraSession...
2024-09-22 16:34:01.606 17512-17559 EGL_emulation           com.myapp               D  app_time_stats: avg=58.87ms min=5.21ms max=307.84ms count=19
2024-09-22 16:34:01.606 17512-17512 CameraSession           com.myapp               I  configure { ... }: Waiting for lock...
2024-09-22 16:34:01.607 17512-17512 CameraSession           com.myapp               I  configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=false, outputsChanged=false, sidePropsChanged=false, isActiveChanged=true, orientationChanged=false, locationChanged=false)
2024-09-22 16:34:01.607 17512-17512 CameraSession           com.myapp               I  Camera Lifecycle changed to STARTED!
2024-09-22 16:34:01.608 17512-17512 VideoCapture            com.myapp               D  VideoCapture#onStateAttached: cameraID = 0
2024-09-22 16:34:01.608 17512-17512 CapabilitiesByQuality   com.myapp               D  profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=1, mediaType=audio/3gpp, bitrate=12200, sampleRate=8000, channels=1, profile=-1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
2024-09-22 16:34:01.608 17512-17512 CapabilitiesByQuality   com.myapp               D  Using supported quality of ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]} for size 1280x720
2024-09-22 16:34:01.608 17512-17512 VideoConfigUtil         com.myapp               D  MediaSpec video mime matches EncoderProfiles. Using EncoderProfiles to derive VIDEO settings [mime type: video/avc]
2024-09-22 16:34:01.608 17512-17617 UseCaseAttachState      com.myapp               D  Active and attached use case: [] for camera: 0
2024-09-22 16:34:01.608 17512-17512 VidEncVdPrflRslvr       com.myapp               D  Resolved frame rate 30fps [Video profile frame rate: 30fps, Expected operating range: <UNSPECIFIED>]
2024-09-22 16:34:01.608 17512-17512 VidEncVdPrflRslvr       com.myapp               D  Resolved VIDEO frame rate: 30fps
2024-09-22 16:34:01.608 17512-17512 VidEncVdPrflRslvr       com.myapp               D  Using resolved VIDEO bitrate from EncoderProfiles
2024-09-22 16:34:01.609 17512-17512 VideoConfigUtil         com.myapp               D  Base Bitrate(12000000bps) * Bit Depth Ratio (8 / 8) * Frame Rate Ratio(30 / 30) * Width Ratio(1280 / 1280) * Height Ratio(720 / 720) = 12000000
2024-09-22 16:34:01.609 17512-17512 VideoConfigUtil         com.myapp               W  Unsupported mime type video/avc or profile level -1. Data space is unspecified.
2024-09-22 16:34:01.609 17512-17512 VideoCapture            com.myapp               D  camera timebase = UPTIME, processing timebase = UPTIME
2024-09-22 16:34:01.609 17512-17512 DeferrableSurface       com.myapp               D  Surface created[total_surfaces=4, used_surfaces=1](androidx.camera.core.processing.SurfaceEdge$SettableSurface@b954352}
2024-09-22 16:34:01.609 17512-17512 DeferrableSurface       com.myapp               D  Surface created[total_surfaces=5, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@7a0429e}
2024-09-22 16:34:01.610 17512-17512 DeferrableSurface       com.myapp               D  New surface in use[total_surfaces=5, used_surfaces=2](androidx.camera.core.SurfaceRequest$2@7a0429e}
2024-09-22 16:34:01.610 17512-17512 DeferrableSurface       com.myapp               D  use count+1, useCount=1 androidx.camera.core.SurfaceRequest$2@7a0429e
2024-09-22 16:34:01.610 17512-17512 Recorder                com.myapp               D  Surface is requested in state: CONFIGURING, Current surface: 0
2024-09-22 16:34:01.610 17512-17680 CapabilitiesByQuality   com.myapp               D  profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=1, mediaType=audio/3gpp, bitrate=12200, sampleRate=8000, channels=1, profile=-1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
2024-09-22 16:34:01.610 17512-17680 Recorder                com.myapp               D  Using supported quality of ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]} for surface size 1280x720
2024-09-22 16:34:01.610 17512-17680 Recorder                com.myapp               D  Try to safely release video encoder: null
2024-09-22 16:34:01.610 17512-17680 VideoEncoderSession     com.myapp               D  closeInternal in RELEASED state, No-op
2024-09-22 16:34:01.610 17512-17680 VideoEncoderSession     com.myapp               D  Create VideoEncoderSession: VideoEncoderSession@225155640 for androidx.camera.core.SurfaceRequest@406f8d9
2024-09-22 16:34:01.610 17512-17680 VideoConfigUtil         com.myapp               D  MediaSpec video mime matches EncoderProfiles. Using EncoderProfiles to derive VIDEO settings [mime type: video/avc]
2024-09-22 16:34:01.610 17512-17680 VidEncVdPrflRslvr       com.myapp               D  Resolved frame rate 30fps [Video profile frame rate: 30fps, Expected operating range: <UNSPECIFIED>]
2024-09-22 16:34:01.610 17512-17680 VidEncVdPrflRslvr       com.myapp               D  Resolved VIDEO frame rate: 30fps
2024-09-22 16:34:01.610 17512-17680 VidEncVdPrflRslvr       com.myapp               D  Using resolved VIDEO bitrate from EncoderProfiles
2024-09-22 16:34:01.610 17512-17680 VideoConfigUtil         com.myapp               D  Base Bitrate(12000000bps) * Bit Depth Ratio (8 / 8) * Frame Rate Ratio(30 / 30) * Width Ratio(1280 / 1280) * Height Ratio(720 / 720) = 12000000
2024-09-22 16:34:01.610 17512-17680 VideoConfigUtil         com.myapp               W  Unsupported mime type video/avc or profile level -1. Data space is unspecified.
2024-09-22 16:34:01.611 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Use case androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539 ACTIVE
2024-09-22 16:34:01.611 17512-17618 UseCaseAttachState      com.myapp               D  Active and attached use case: [] for camera: 0
2024-09-22 16:34:01.612 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Use cases [androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917, androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282, androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539] now ATTACHED
2024-09-22 16:34:01.612 17512-17617 Camera2CameraControlImp com.myapp               D  setActive: isActive = true
2024-09-22 16:34:01.612 17512-17617 UseCaseAttachState      com.myapp               D  All use case: [androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539, androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917, androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282] for camera: 0
2024-09-22 16:34:01.612 17512-17617 Camera2CameraImpl       com.myapp               D  No need to remove a previous mMeteringRepeating, SessionConfig Surfaces: 3, CaptureConfig Surfaces: 1
2024-09-22 16:34:01.612 17512-17617 UseCaseAttachState      com.myapp               D  Active and attached use case: [androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539] for camera: 0
2024-09-22 16:34:01.613 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Resetting Capture Session
2024-09-22 16:34:01.613 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Skipping Capture Session state check due to current camera state: INITIALIZED and previous session status: false
2024-09-22 16:34:01.613 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Releasing session in state INITIALIZED
2024-09-22 16:34:01.613 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Attempting to force open the camera.
2024-09-22 16:34:01.613 17512-17617 CameraStateRegistry     com.myapp               D  tryOpenCamera(Camera@c6c8309[id=0]) [Available Cameras: 1, Already Open: false (Previous state: CLOSED)] --> SUCCESS
2024-09-22 16:34:01.613 17512-17617 CameraStateRegistry     com.myapp               D  Recalculating open cameras:
                                                                                                    Camera                                       State                 
                                                                                                    -------------------------------------------------------------------
                                                                                                    Camera@409581a[id=1]                         UNKNOWN               
                                                                                                    Camera@c6c8309[id=0]                         OPENING               
                                                                                                    -------------------------------------------------------------------
                                                                                                    Open count: 1 (Max allowed: 1)
2024-09-22 16:34:01.613 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Opening camera.
2024-09-22 16:34:01.613 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Transitioning camera internal state: INITIALIZED --> OPENING
2024-09-22 16:34:01.621 17512-17617 CameraStateMachine      com.myapp               D  New public camera state CameraState{type=OPENING, error=null} from OPENING and null
2024-09-22 16:34:01.621 17512-17617 CameraStateMachine      com.myapp               D  Publishing new public camera state CameraState{type=OPENING, error=null}
2024-09-22 16:34:01.621 17512-17617 UseCaseAttachState      com.myapp               D  All use case: [androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539, androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917, androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282] for camera: 0
2024-09-22 16:34:01.622 17512-17512 CameraSession           com.myapp               I  Camera State: CLOSED (has error: false)
2024-09-22 16:34:01.622 17512-17512 CameraView              com.myapp               I  invokeOnStopped()
2024-09-22 16:34:01.623 17512-17512 CameraSession           com.myapp               I  Camera Lifecycle changed to RESUMED!
2024-09-22 16:34:01.623 17512-17512 CameraSession           com.myapp               I  configure { ... }: Completed CameraSession Configuration! (State: RESUMED)
2024-09-22 16:34:01.623 17512-17512 VideoCapture            com.myapp               D  Stream info update: old: StreamInfo{id=0, streamState=INACTIVE, inProgressTransformationInfo=null} new: StreamInfo{id=0, streamState=INACTIVE, inProgressTransformationInfo=null}
2024-09-22 16:34:01.623 17512-17512 CameraSession           com.myapp               I  Camera State: OPENING (has error: false)
2024-09-22 16:34:01.625 17512-17610 ReactNativeJS           com.myapp               I  Camera stopped!
2024-09-22 16:34:01.631 17512-17680 MediaCodecList          com.myapp               D  codecHandlesFormat: no format, so no extra checks
2024-09-22 16:34:01.635 17512-17611 CameraDevices           com.myapp               I  Camera #0 is now unavailable.
2024-09-22 16:34:01.639 17512-17701 CCodec                  com.myapp               D  allocate(c2.android.avc.encoder)
2024-09-22 16:34:01.644 17512-17701 CCodec                  com.myapp               I  setting up 'default' as default (vendor) store
2024-09-22 16:34:01.645 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Use case androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917 ACTIVE
2024-09-22 16:34:01.645 17512-17617 UseCaseAttachState      com.myapp               D  Active and attached use case: [androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539, androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917] for camera: 0
2024-09-22 16:34:01.646 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Use case androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282 ACTIVE
2024-09-22 16:34:01.646 17512-17617 UseCaseAttachState      com.myapp               D  Active and attached use case: [androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539, androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917, androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282] for camera: 0
2024-09-22 16:34:01.648 17512-17701 CCodec                  com.myapp               I  Created component [c2.android.avc.encoder]
2024-09-22 16:34:01.653 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Use case androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539 ACTIVE
2024-09-22 16:34:01.653 17512-17617 UseCaseAttachState      com.myapp               D  Active and attached use case: [androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539, androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917, androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282] for camera: 0
2024-09-22 16:34:01.655 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} CameraDevice.onOpened()
2024-09-22 16:34:01.656 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Transitioning camera internal state: OPENING --> OPENED
2024-09-22 16:34:01.656 17512-17617 CameraStateRegistry     com.myapp               D  Recalculating open cameras:
                                                                                                    Camera                                       State                 
                                                                                                    -------------------------------------------------------------------
                                                                                                    Camera@409581a[id=1]                         UNKNOWN               
                                                                                                    Camera@c6c8309[id=0]                         OPEN                  
                                                                                                    -------------------------------------------------------------------
                                                                                                    Open count: 1 (Max allowed: 1)
2024-09-22 16:34:01.656 17512-17617 CameraStateMachine      com.myapp               D  New public camera state CameraState{type=OPEN, error=null} from OPEN and null
2024-09-22 16:34:01.656 17512-17617 CameraStateMachine      com.myapp               D  Publishing new public camera state CameraState{type=OPEN, error=null}
2024-09-22 16:34:01.657 17512-17617 UseCaseAttachState      com.myapp               D  All use case: [androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539, androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917, androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282] for camera: 0
2024-09-22 16:34:01.665 17512-17701 CCodecConfig            com.myapp               D  read media type: video/avc
2024-09-22 16:34:01.673 17512-17512 CameraSession           com.myapp               I  Camera State: OPEN (has error: false)
2024-09-22 16:34:01.673 17512-17512 CameraView              com.myapp               I  invokeOnStarted()
2024-09-22 16:34:01.677 17512-17610 ReactNativeJS           com.myapp               I  Camera started!
2024-09-22 16:34:01.677 17512-17617 UseCaseAttachState      com.myapp               D  Active and attached use case: [androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539, androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917, androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282] for camera: 0
2024-09-22 16:34:01.690 17512-17701 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: algo.buffers.max-count.values
2024-09-22 16:34:01.692 17512-17701 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: output.subscribed-indices.values
2024-09-22 16:34:01.692 17512-17701 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: input.buffers.allocator-ids.values
2024-09-22 16:34:01.693 17512-17701 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: output.buffers.allocator-ids.values
2024-09-22 16:34:01.694 17512-17701 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: algo.buffers.allocator-ids.values
2024-09-22 16:34:01.695 17512-17701 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: output.buffers.pool-ids.values
2024-09-22 16:34:01.695 17512-17701 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: algo.buffers.pool-ids.values
2024-09-22 16:34:01.701 17512-17701 ReflectedParamUpdater   com.myapp               D  ignored struct field coding.gop.values
2024-09-22 16:34:01.704 17512-17701 ReflectedParamUpdater   com.myapp               D  ignored struct field coding.qp.values
2024-09-22 16:34:01.705 17512-17701 CCodecConfig            com.myapp               D  ignoring local param raw.color (0xc2001809) as it is already supported
2024-09-22 16:34:01.706 17512-17701 CCodecConfig            com.myapp               I  query failed after returning 12 values (BAD_INDEX)
2024-09-22 16:34:01.706 17512-17701 CCodecConfig            com.myapp               D  c2 config diff is Dict {
                                                                                                      c2::i32 coded.average-qp.value = 0
                                                                                                      c2::u32 coded.bitrate.value = 64000
                                                                                                      c2::float coded.frame-rate.value = 1
                                                                                                      c2::u32 coded.picture-type.value = 0
                                                                                                      c2::u32 coded.pl.level = 20492
                                                                                                      c2::u32 coded.pl.profile = 20481
                                                                                                      c2::u32 coded.vui.color.matrix = 0
                                                                                                      c2::u32 coded.vui.color.primaries = 0
                                                                                                      c2::u32 coded.vui.color.range = 0
                                                                                                      c2::u32 coded.vui.color.transfer = 0
                                                                                                      c2::u32 coding.intra-refresh.mode = 0
                                                                                                      c2::float coding.intra-refresh.period = 0
                                                                                                      c2::u32 coding.request-sync-frame.value = 0
                                                                                                      c2::i64 coding.sync-frame-interval.value = 1000000
                                                                                                      c2::u32 input.delay.value = 0
                                                                                                      string input.media-type.value = "video/raw"
                                                                                                      string output.media-type.value = "video/avc"
                                                                                                      c2::u32 raw.color.matrix = 0
                                                                                                      c2::u32 raw.color.primaries = 0
                                                                                                      c2::u32 raw.color.range = 0
                                                                                                      c2::u32 raw.color.transfer = 0
                                                                                                      c2::u32 raw.size.height = 16
                                                                                                      c2::u32 raw.size.width = 16
                                                                                                    }
2024-09-22 16:34:01.706 17512-17701 ColorUtils              com.myapp               W  expected specified color aspects (0:0:0:0)
2024-09-22 16:34:01.709 17512-17680 VideoEncoder            com.myapp               D  mInputTimebase = UPTIME
2024-09-22 16:34:01.709 17512-17680 VideoEncoder            com.myapp               D  mMediaFormat = {color-format=2130708361, i-frame-interval=1, mime=video/avc, width=1280, bitrate=12000000, frame-rate=30, height=720}
2024-09-22 16:34:01.710 17512-17701 hw-BpHwBinder           com.myapp               I  onLastStrongRef automatically unlinking death recipients
2024-09-22 16:34:01.713 17512-17701 CCodec                  com.myapp               D  allocate(c2.android.avc.encoder)
2024-09-22 16:34:01.716 17512-17701 CCodec                  com.myapp               I  setting up 'default' as default (vendor) store
2024-09-22 16:34:01.720 17512-17701 CCodec                  com.myapp               I  Created component [c2.android.avc.encoder]
2024-09-22 16:34:01.721 17512-17701 CCodecConfig            com.myapp               D  read media type: video/avc
2024-09-22 16:34:01.725 17512-17701 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: algo.buffers.max-count.values
2024-09-22 16:34:01.726 17512-17701 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: output.subscribed-indices.values
2024-09-22 16:34:01.726 17512-17701 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: input.buffers.allocator-ids.values
2024-09-22 16:34:01.726 17512-17701 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: output.buffers.allocator-ids.values
2024-09-22 16:34:01.727 17512-17701 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: algo.buffers.allocator-ids.values
2024-09-22 16:34:01.727 17512-17701 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: output.buffers.pool-ids.values
2024-09-22 16:34:01.728 17512-17701 ReflectedParamUpdater   com.myapp               D  extent() != 1 for single value type: algo.buffers.pool-ids.values
2024-09-22 16:34:01.731 17512-17701 ReflectedParamUpdater   com.myapp               D  ignored struct field coding.gop.values
2024-09-22 16:34:01.731 17512-17701 ReflectedParamUpdater   com.myapp               D  ignored struct field coding.qp.values
2024-09-22 16:34:01.732 17512-17701 CCodecConfig            com.myapp               D  ignoring local param raw.color (0xc2001809) as it is already supported
2024-09-22 16:34:01.732 17512-17701 CCodecConfig            com.myapp               I  query failed after returning 12 values (BAD_INDEX)
2024-09-22 16:34:01.733 17512-17701 CCodecConfig            com.myapp               D  c2 config diff is Dict {
                                                                                                      c2::i32 coded.average-qp.value = 0
                                                                                                      c2::u32 coded.bitrate.value = 64000
                                                                                                      c2::float coded.frame-rate.value = 1
                                                                                                      c2::u32 coded.picture-type.value = 0
                                                                                                      c2::u32 coded.pl.level = 20492
                                                                                                      c2::u32 coded.pl.profile = 20481
                                                                                                      c2::u32 coded.vui.color.matrix = 0
                                                                                                      c2::u32 coded.vui.color.primaries = 0
                                                                                                      c2::u32 coded.vui.color.range = 0
                                                                                                      c2::u32 coded.vui.color.transfer = 0
                                                                                                      c2::u32 coding.intra-refresh.mode = 0
                                                                                                      c2::float coding.intra-refresh.period = 0
                                                                                                      c2::u32 coding.request-sync-frame.value = 0
                                                                                                      c2::i64 coding.sync-frame-interval.value = 1000000
                                                                                                      c2::u32 input.delay.value = 0
                                                                                                      string input.media-type.value = "video/raw"
                                                                                                      string output.media-type.value = "video/avc"
                                                                                                      c2::u32 raw.color.matrix = 0
                                                                                                      c2::u32 raw.color.primaries = 0
                                                                                                      c2::u32 raw.color.range = 0
                                                                                                      c2::u32 raw.color.transfer = 0
                                                                                                      c2::u32 raw.size.height = 16
                                                                                                      c2::u32 raw.size.width = 16
                                                                                                    }
2024-09-22 16:34:01.733 17512-17701 ColorUtils              com.myapp               W  expected specified color aspects (0:0:0:0)
2024-09-22 16:34:01.733 17512-17698 MediaCodec              com.myapp               I  MediaCodec will operate in async mode
2024-09-22 16:34:01.734 17512-17680 MediaCodec              com.myapp               D  shapeMediaFormat: deltas(1): AMessage(what = 0x00000000) = {
                                                                                                        int32_t android._encoding-quality-level = 0
                                                                                                      }
2024-09-22 16:34:01.734 17512-17701 CCodec                  com.myapp               D  [c2.android.avc.encoder] buffers are bound to CCodec for this session
2024-09-22 16:34:01.734 17512-17701 CCodecConfig            com.myapp               D  no c2 equivalents for color-format
2024-09-22 16:34:01.734 17512-17701 CCodecConfig            com.myapp               D  no c2 equivalents for flags
2024-09-22 16:34:01.734 17512-17701 CCodecConfig            com.myapp               D  no c2 equivalents for encoder
2024-09-22 16:34:01.737 17512-17701 CCodecConfig            com.myapp               D  c2 config diff is   c2::u32 coded.bitrate.value = 12000000
                                                                                                      c2::float coded.frame-rate.value = 30
                                                                                                      c2::u32 raw.size.height = 720
                                                                                                      c2::u32 raw.size.width = 1280
2024-09-22 16:34:01.737 17512-17701 ColorUtils              com.myapp               W  expected specified color aspects (0:0:0:0)
2024-09-22 16:34:01.737 17512-17701 CCodec                  com.myapp               D  encoding statistics level = 0
2024-09-22 16:34:01.737 17512-17701 CCodec                  com.myapp               D  setup formats input: AMessage(what = 0x00000000) = {
                                                                                                      Rect crop(0, 0, 1279, 719)
                                                                                                      int32_t color-standard = 0
                                                                                                      int32_t color-range = 0
                                                                                                      int32_t color-transfer = 0
                                                                                                      int32_t frame-rate = 30
                                                                                                      int32_t height = 720
                                                                                                      int32_t intra-refresh-period = 0
                                                                                                      string mime = "video/raw"
                                                                                                      int32_t video-qp-average = 0
                                                                                                      int32_t width = 1280
                                                                                                      int32_t android._dataspace = 0
                                                                                                      int32_t using-sw-read-often = 1
                                                                                                      int64_t android._C2MemoryUsage = 1
                                                                                                      int32_t color-format = 2130708361
                                                                                                      int32_t android._color-format = 2130708361
                                                                                                    }
2024-09-22 16:34:01.737 17512-17701 CCodec                  com.myapp               D  setup formats output: AMessage(what = 0x00000000) = {
                                                                                                      int32_t bitrate = 12000000
                                                                                                      Rect crop(0, 0, 1279, 719)
                                                                                                      int32_t color-standard = 0
                                                                                                      int32_t color-range = 0
                                                                                                      int32_t color-transfer = 0
                                                                                                      int32_t frame-rate = 30
                                                                                                      int32_t height = 720
                                                                                                      int32_t intra-refresh-period = 0
                                                                                                      int32_t level = 4096
                                                                                                      int32_t max-bitrate = 12000000
                                                                                                      string mime = "video/avc"
                                                                                                      int32_t profile = 65536
                                                                                                      int32_t video-qp-average = 0
                                                                                                      int32_t width = 1280
                                                                                                    }
2024-09-22 16:34:01.738 17512-17701 CCodecConfig            com.myapp               I  query failed after returning 13 values (BAD_INDEX)
2024-09-22 16:34:01.739 17512-17701 CCodec                  com.myapp               D  input format changed to AMessage(what = 0x00000000) = {
                                                                                                      Rect crop(0, 0, 1279, 719)
                                                                                                      int32_t color-standard = 1
                                                                                                      int32_t color-range = 2
                                                                                                      int32_t color-transfer = 3
                                                                                                      int32_t frame-rate = 30
                                                                                                      int32_t height = 720
                                                                                                      int32_t intra-refresh-period = 0
                                                                                                      string mime = "video/raw"
                                                                                                      int32_t video-qp-average = 0
                                                                                                      int32_t width = 1280
                                                                                                      int32_t android._dataspace = 260
                                                                                                      int32_t using-sw-read-often = 1
                                                                                                      int64_t android._C2MemoryUsage = 1
                                                                                                      int32_t color-format = 2130708361
                                                                                                      int32_t android._color-format = 2130708361
                                                                                                    }
2024-09-22 16:34:01.739 17512-17701 GraphicBufferSource     com.myapp               D  setting dataspace: 0x104, acquired=0
2024-09-22 16:34:01.739 17512-17701 CCodec                  com.myapp               D  ISConfig not changed
2024-09-22 16:34:01.740 17512-17680 VideoEncoder            com.myapp               D  Transitioning encoder internal state: null --> CONFIGURED
2024-09-22 16:34:01.740 17512-17680 Recorder                com.myapp               D  Video source has transitioned to state: ACTIVE_NON_STREAMING
2024-09-22 16:34:01.740 17512-17680 VideoEncoderSession     com.myapp               D  provide surface: Surface(name=null)/@0x1f0db5f
2024-09-22 16:34:01.741 17512-17618 SyncCaptureSessionBase  com.myapp               D  [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@3bb3675] getSurface done with results: [Surface(name=null)/@0x48f66db, Surface(name=null)/@0x1b7c616, Surface(name=null)/@0x1f0db5f]
2024-09-22 16:34:01.741 17512-17618 CaptureSession          com.myapp               D  Opening capture session.
2024-09-22 16:34:01.742 17512-17680 Recorder                com.myapp               D  VideoEncoder is created. androidx.camera.video.internal.encoder.EncoderImpl@4cc060a
2024-09-22 16:34:01.742 17512-17680 Recorder                com.myapp               D  Transitioning streamId: 0 --> 32562015
2024-09-22 16:34:01.742 17512-17618 Camera2Cap...estBuilder com.myapp               D  template type = 3
2024-09-22 16:34:01.742 17512-17512 VideoCapture            com.myapp               D  Stream info update: old: StreamInfo{id=0, streamState=INACTIVE, inProgressTransformationInfo=null} new: StreamInfo{id=32562015, streamState=INACTIVE, inProgressTransformationInfo=null}
2024-09-22 16:34:01.743 17512-17680 Recorder                com.myapp               D  Transitioning Recorder internal state: CONFIGURING --> IDLING
2024-09-22 16:34:01.744 17512-17618 SyncCaptureSessionImpl  com.myapp               D  [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@3bb3675] start openCaptureSession
2024-09-22 16:34:01.744 17512-17618 DeferrableSurface       com.myapp               D  use count+1, useCount=2 androidx.camera.core.SurfaceRequest$2@21d0ef
2024-09-22 16:34:01.744 17512-17618 DeferrableSurface       com.myapp               D  New surface in use[total_surfaces=5, used_surfaces=3](androidx.camera.core.impl.ImmediateSurface@b688e01}
2024-09-22 16:34:01.744 17512-17618 DeferrableSurface       com.myapp               D  use count+1, useCount=1 androidx.camera.core.impl.ImmediateSurface@b688e01
2024-09-22 16:34:01.744 17512-17618 DeferrableSurface       com.myapp               D  use count+1, useCount=2 androidx.camera.core.SurfaceRequest$2@7a0429e
2024-09-22 16:34:01.763 17512-17618 SyncCaptureSessionImpl  com.myapp               D  [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@3bb3675] Session onConfigured()
2024-09-22 16:34:01.763 17512-17618 CaptureSession          com.myapp               D  Attempting to send capture request onConfigured
2024-09-22 16:34:01.763 17512-17618 CaptureSession          com.myapp               D  Issuing request for session.
2024-09-22 16:34:01.763 17512-17618 Camera2Cap...estBuilder com.myapp               D  createCaptureRequest
2024-09-22 16:34:01.766 17512-17618 CaptureSession          com.myapp               D  CameraCaptureSession.onConfigured() mState=OPENED
2024-09-22 16:34:01.767 17512-17618 CaptureSession          com.myapp               D  CameraCaptureSession.onReady() OPENED
2024-09-22 16:34:01.786 17512-17675 CameraView              com.myapp               I  invokeOnAverageFpsChanged(0.0)
2024-09-22 16:34:02.130 17512-17617 VideoCapture            com.myapp               D  cameraCaptureResult timestampNs = 14138413575919, current system uptimeMs = 14138335, current system realtimeMs = 14138335
2024-09-22 16:34:02.130 17512-17617 StreamStateObserver     com.myapp               D  Update Preview stream state to STREAMING
2024-09-22 16:34:02.130 17512-17512 CameraView              com.myapp               I  PreviewView Stream State changed to STREAMING
2024-09-22 16:34:02.130 17512-17512 CameraView              com.myapp               I  invokeOnPreviewStarted()
2024-09-22 16:34:02.149 17512-17610 ReactNativeJS           com.myapp               I  Preview started!
2024-09-22 16:34:02.786 17512-17675 CameraView              com.myapp               I  invokeOnAverageFpsChanged(0.0)
2024-09-22 16:34:03.786 17512-17675 CameraView              com.myapp               I  invokeOnAverageFpsChanged(0.0)
2024-09-22 16:34:04.302 17512-17559 EGL_emulation           com.myapp               D  app_time_stats: avg=2696.29ms min=2696.29ms max=2696.29ms count=1
2024-09-22 16:34:04.566 17512-17610 ReactNativeJS           com.myapp               I  Taking photo...
2024-09-22 16:34:04.569 17512-17512 CameraView              com.myapp               D  Finding view 385...
2024-09-22 16:34:04.569 17512-17512 CameraView              com.myapp               D  Found view 385!
2024-09-22 16:34:04.569 17512-17619 CameraView.takePhoto    com.myapp               I  Taking photo... Options: {}
2024-09-22 16:34:04.576 17512-17617 UseCaseAttachState      com.myapp               D  Active and attached use case: [androidx.camera.video.VideoCapture-b45a9b79-46dd-419b-b73a-0485b503b0d8231712539, androidx.camera.core.Preview-b82c239d-08bf-455e-b460-5b1311bc390014480917, androidx.camera.core.ImageCapture-33c5ca00-6ae7-4c5c-aad0-cc81d233b848172842282] for camera: 0
2024-09-22 16:34:04.576 17512-17512 ImageCapture            com.myapp               D  takePictureInternal
2024-09-22 16:34:04.576 17512-17617 CaptureSession          com.myapp               D  Attempting to submit CaptureRequest after setting
2024-09-22 16:34:04.576 17512-17617 CaptureSession          com.myapp               D  Issuing request for session.
2024-09-22 16:34:04.576 17512-17617 Camera2Cap...estBuilder com.myapp               D  createCaptureRequest
2024-09-22 16:34:04.578 17512-17512 TakePictureManager      com.myapp               D  Issue the next TakePictureRequest.
2024-09-22 16:34:04.697 17512-17618 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Issue capture request
2024-09-22 16:34:04.697 17512-17618 CaptureSession          com.myapp               D  Issuing capture request.
2024-09-22 16:34:04.697 17512-17618 Camera2Cap...estBuilder com.myapp               D  createCaptureRequest
2024-09-22 16:34:04.787 17512-17675 CameraView              com.myapp               I  invokeOnAverageFpsChanged(0.0)
2024-09-22 16:34:04.804 17512-17512 CameraView              com.myapp               I  invokeOnShutter(PHOTO)
--------- beginning of crash
2024-09-22 16:34:05.109 17512-17617 DeferrableSurface       com.myapp               D  use count-1,  useCount=1 closed=false androidx.camera.core.SurfaceRequest$2@21d0ef
2024-09-22 16:34:05.109 17512-17617 DeferrableSurface       com.myapp               D  use count-1,  useCount=0 closed=false androidx.camera.core.impl.ImmediateSurface@b688e01
2024-09-22 16:34:05.109 17512-17617 DeferrableSurface       com.myapp               D  Surface no longer in use[total_surfaces=5, used_surfaces=2](androidx.camera.core.impl.ImmediateSurface@b688e01}
2024-09-22 16:34:05.109 17512-17617 DeferrableSurface       com.myapp               D  use count-1,  useCount=1 closed=false androidx.camera.core.SurfaceRequest$2@7a0429e
2024-09-22 16:34:05.109 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} CameraDevice.onDisconnected()
2024-09-22 16:34:05.109 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Camera receive onErrorCallback
2024-09-22 16:34:05.110 17512-17617 Camera2CameraImpl       com.myapp               D  CameraDevice.onError(): 0 failed with ERROR_CAMERA_IN_USE while in OPENED state. Will attempt recovering from error.
2024-09-22 16:34:05.110 17512-17617 Camera2CameraImpl       com.myapp               D  Attempt to reopen camera[0] after error[ERROR_CAMERA_IN_USE]
2024-09-22 16:34:05.110 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Transitioning camera internal state: OPENED --> REOPENING
2024-09-22 16:34:05.110 17512-17617 CameraStateRegistry     com.myapp               D  Recalculating open cameras:
                                                                                                    Camera                                       State                 
                                                                                                    -------------------------------------------------------------------
                                                                                                    Camera@409581a[id=1]                         UNKNOWN               
                                                                                                    Camera@c6c8309[id=0]                         OPENING               
                                                                                                    -------------------------------------------------------------------
                                                                                                    Open count: 1 (Max allowed: 1)
2024-09-22 16:34:05.111 17512-17617 CameraStateMachine      com.myapp               D  New public camera state CameraState{type=OPENING, error=StateError{code=2, cause=null}} from OPENING and StateError{code=2, cause=null}
2024-09-22 16:34:05.112 17512-17617 CameraStateMachine      com.myapp               D  Publishing new public camera state CameraState{type=OPENING, error=StateError{code=2, cause=null}}
2024-09-22 16:34:05.112 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Resetting Capture Session
2024-09-22 16:34:05.113 17512-17512 CameraSession           com.myapp               I  Camera State: OPENING (has error: true)
2024-09-22 16:34:05.113 17512-17512 CameraView              com.myapp               I  invokeOnStopped()
2024-09-22 16:34:05.113 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Skipping Capture Session state check due to current camera state: REOPENING and previous session status: true
2024-09-22 16:34:05.113 17512-17617 SyncCaptureSessionImpl  com.myapp               D  [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@3bb3675] Session call close()
2024-09-22 16:34:05.113 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Releasing session in state REOPENING
2024-09-22 16:34:05.114 17512-17617 SyncCaptureSessionImpl  com.myapp               D  [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@3bb3675] onClosed()
2024-09-22 16:34:05.114 17512-17617 CaptureSession          com.myapp               D  onSessionFinished()
2024-09-22 16:34:05.114 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} Camera reopen required. Checking if the current camera can be closed safely.
2024-09-22 16:34:05.114 17512-17512 CameraView              com.myapp               E  invokeOnError(...):
2024-09-22 16:34:05.114 17512-17617 Camera2CameraImpl       com.myapp               D  {Camera@c6c8309[id=0]} closing camera
2024-09-22 16:34:05.116 17512-17512 System.err              com.myapp               W  com.mrousavy.camera.core.CameraInUseError: The given Camera Device is already in use!
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at com.mrousavy.camera.core.extensions.StateError_toCameraErrorKt.toCameraError(StateError+toCameraError.kt:18)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at com.mrousavy.camera.core.CameraSession_ConfigurationKt$configureCamera$2.invoke(CameraSession+Configuration.kt:291)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at com.mrousavy.camera.core.CameraSession_ConfigurationKt$configureCamera$2.invoke(CameraSession+Configuration.kt:274)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at com.mrousavy.camera.core.CameraSession_ConfigurationKt.configureCamera$lambda$7(CameraSession+Configuration.kt:274)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at com.mrousavy.camera.core.CameraSession_ConfigurationKt.$r8$lambda$k4xoH-HsrtOJUBzN5ggCd_BRp2Y(Unknown Source:0)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at com.mrousavy.camera.core.CameraSession_ConfigurationKt$$ExternalSyntheticLambda0.onChanged(Unknown Source:2)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at androidx.lifecycle.LiveData.considerNotify(LiveData.java:133)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at androidx.lifecycle.LiveData.dispatchingValue(LiveData.java:151)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at androidx.lifecycle.LiveData.setValue(LiveData.java:309)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at androidx.lifecycle.MutableLiveData.setValue(MutableLiveData.java:50)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at androidx.camera.camera2.internal.Camera2CameraInfoImpl$RedirectableLiveData.$r8$lambda$LuOJQ0sg1wvLyxomp0-YWy0I_2g(Unknown Source:0)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at androidx.camera.camera2.internal.Camera2CameraInfoImpl$RedirectableLiveData$$ExternalSyntheticLambda0.onChanged(Unknown Source:2)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at androidx.lifecycle.MediatorLiveData$Source.onChanged(MediatorLiveData.java:171)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at androidx.lifecycle.LiveData.considerNotify(LiveData.java:133)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at androidx.lifecycle.LiveData.dispatchingValue(LiveData.java:151)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at androidx.lifecycle.LiveData.setValue(LiveData.java:309)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at androidx.lifecycle.MutableLiveData.setValue(MutableLiveData.java:50)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at androidx.lifecycle.LiveData$1.run(LiveData.java:93)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at android.os.Handler.handleCallback(Handler.java:942)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at android.os.Handler.dispatchMessage(Handler.java:99)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at android.os.Looper.loopOnce(Looper.java:201)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at android.os.Looper.loop(Looper.java:288)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at android.app.ActivityThread.main(ActivityThread.java:7898)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at java.lang.reflect.Method.invoke(Native Method)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
2024-09-22 16:34:05.117 17512-17512 System.err              com.myapp               W  	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
2024-09-22 16:34:05.120 17512-17610 ReactNativeJS           com.myapp               I  Camera stopped!
2024-09-22 16:34:05.127 17512-17610 ReactNativeJS           com.myapp               E  { [device/camera-already-in-use: The given Camera Device is already in use!]
                                                                                                      name: 'device/camera-already-in-use',
                                                                                                      _code: 'device/camera-already-in-use',
                                                                                                      _message: 'The given Camera Device is already in use!',
                                                                                                      _cause: undefined }
2024-09-22 16:34:05.230 17512-17655 TrafficStats            com.myapp               D  tagSocket(166) with statsTag=0xffffffff, statsUid=-1
2024-09-22 16:34:05.788 17512-17675 CameraView              com.myapp               I  invokeOnAverageFpsChanged(0.0)
2024-09-22 16:34:06.795 17512-17675 CameraView              com.myapp               I  invokeOnAverageFpsChanged(0.0)
2024-09-22 16:34:07.794 17512-17675 CameraView              com.myapp               I  invokeOnAverageFpsChanged(0.0)

@Jonnboy91
Copy link
Author

Nice, now @mrousavy can have a look at this issue then 💪🏽

@mrousavy
Copy link
Owner

java.lang.NullPointerException: Attempt to invoke virtual method 'int android.media.EncoderProfiles$VideoProfile.getCodec()' on a null object reference

This is a bug in android/operating system of the specific device. Insane what they ship

@Pingou
Copy link

Pingou commented Sep 23, 2024

@mrousavy To clarify, this is the standard Android emulator, like @Jonnboy91, and not a particularly recent one, so I suspect it may be a new issue with the lib, else I suppose the github issues pages of react-native-vision-camera would be filled with that same bug as it makes the lib unusable on the Android emulator.
I am using it on a mac m2, and you @Jonnboy91?

@Jonnboy91
Copy link
Author

I'm using Mac M3, I could test other emulators, but those 2 that I tested and one with different api versions, I couldn't get it to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants