chore: Remove photoCodec from Example App

Fixes https://github.com/mrousavy/react-native-vision-camera/issues/2159
This commit is contained in:
Marc Rousavy 2023-11-15 20:17:16 +01:00 committed by GitHub
parent 3dd56c3ba2
commit 1055430cbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,6 @@ const _CaptureButton: React.FC<Props> = ({
const recordingProgress = useSharedValue(0) const recordingProgress = useSharedValue(0)
const takePhotoOptions = useMemo<TakePhotoOptions>( const takePhotoOptions = useMemo<TakePhotoOptions>(
() => ({ () => ({
photoCodec: 'jpeg',
qualityPrioritization: 'speed', qualityPrioritization: 'speed',
flash: flash, flash: flash,
quality: 90, quality: 90,