Marc Rousavy

Results 1817 comments of Marc Rousavy

@ritathesaver can you try to use this format: ```ts const format = useCameraFormat(device, [ { autoFocusSystem: 'phase-detection' } ]) ``` pass that to the Camera, then try to take a...

@stevengoldberg did you try to change `enableShutterSound`?

Does the flash work correctly when using a third party app like Instagram, Snapchat or WhatsApp?

Yea, because expo-camera does not support formats at all. On VisionCamera you can fix this by selecting a different format - there are some formats that work, some that don't....

Can you give a bit more insights, did you test this on Android or iOS? Which Android phone did you test this on? Is this also reproduceable on iOS?

Ah, I have an idea! - can you try something please? https://github.com/mrousavy/react-native-vision-camera/blob/7e2889cf84c0346fda8589ae69d56706bad85efd/package/android/src/main/java/com/mrousavy/camera/core/CameraSession.kt#L579 **After** this line, add: ```java captureSession.stopRepeating() ``` This will break the preview, but I can fix that later...

Perfect, then I know how to speed that up! I'll leave this open for now until I implement it.

Heyo, I just tested this on my end on my Huawei P10: Without the `stopRepeating()` before capture, so just VisionCamera main codebase as it is today: ``` 14:09:55.089 CameraSession I...

Created a PR for this based off of current main, test if you can: https://github.com/mrousavy/react-native-vision-camera/pull/2517