chore: Remove photoCodec
from Example App
Fixes https://github.com/mrousavy/react-native-vision-camera/issues/2159
This commit is contained in:
parent
3dd56c3ba2
commit
1055430cbb
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user