react-native-vision-camera
react-native-vision-camera copied to clipboard
✨ startRecording callback/promise
What feature or enhancement are you suggesting?
Would be lovely to have a callback or / be able to use await startRecording()
in order to make sure that recording indeed did start.
https://github.com/mrousavy/react-native-vision-camera/blob/main/example/src/views/CaptureButton.tsx#L119
What Platforms whould this feature/enhancement affect?
iOS, Android
Alternatives/Workarounds
No workaround currently
Additional information
- [X] I agree to follow this project's Code of Conduct
- [X] I searched for similar feature requests in this repository and found none.
https://github.com/mrousavy/react-native-vision-camera/blob/00fc39891a5cd6c68121fd5cd5f6ede90c9eb333/ios/CameraView%2BRecordVideo.swift#L60-L63
Ok, I see! Gonna live with that for now :)
Started working on something here: https://github.com/mrousavy/react-native-vision-camera/pull/2194
as of now this doesn't really work, but we'll see what we can do
Closing because this is being tracked in https://github.com/mrousavy/react-native-vision-camera/issues/1319