fix: Fix CodeScanner not being called (#2082)

This commit is contained in:
Marc Rousavy
2023-10-25 12:41:54 +02:00
committed by GitHub
parent 3b7f020566
commit d675b6a9da

View File

@@ -392,6 +392,9 @@ class CameraSession(private val context: Context, private val cameraManager: Cam
videoOutput?.let { output ->
captureRequest.addTarget(output.surface)
}
codeScannerOutput?.let { output ->
captureRequest.addTarget(output.surface)
}
// Set FPS
// TODO: Check if the FPS range is actually supported in the current configuration.