Skip to content

Commit

Permalink
fix: lowered camera framerate (#1073)
Browse files Browse the repository at this point in the history
Signed-off-by: wadeking98 <[email protected]>
  • Loading branch information
wadeking98 authored Jan 25, 2024
1 parent 875cb0c commit f9c751c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/legacy/core/App/components/misc/ScanCamera.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const ScanCamera: React.FC<Props> = ({ handleCodeScan, error, enableCameraOnErro
const device = useCameraDevice('back')
const screenAspectRatio = useWindowDimensions().scale
const format = useCameraFormat(device, [
{ fps: 60 },
{ fps: 20 },
{ videoAspectRatio: screenAspectRatio },
{ videoResolution: 'max' },
{ photoAspectRatio: screenAspectRatio },
Expand Down

0 comments on commit f9c751c

Please sign in to comment.