79265035

Date: 2024-12-09 12:56:45
Score: 1.5
Natty:
Report link

If the problem is due to the metadata problem @sweak mentioned, another way to handle this can be initializing CameraX through the ProcessCameraProvider#configureInstance and Camera2Config#defaultConfig() API.

ProcessCameraProvider.configureInstance(Camera2Config.defaultConfig())
val cameraProviderFuture = ProcessCameraProvider.getInstance(context)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @sweak
  • Low reputation (0.5):
Posted by: Tahsin Masrur