Skip to content

Commit

Permalink
fix: Fix CodeScanner not being called (mrousavy#2082)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy authored Oct 25, 2023
1 parent c3c5ab3 commit d626fb0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d626fb0

Please sign in to comment.