react-native-image-crop-picker
react-native-image-crop-picker copied to clipboard
Android Recorded Video first frame is black
Version
Tell us which versions you are using:
- react-native-image-crop-picker v0.40.3
- react-native v0.72.5
Platform
One plus
- Android
Expected behavior
- When we recorded the video from Camera the captured video first frame was not black screen.
Actual behavior
- When we recorded the video from Camera the captured video first frame was a black screen.
Code base
export const OpenCamera = async (type, success, failure) => {
try {
const response = await ImagePicker.openCamera({
mediaType: 'video',
}).catch(() => failure());
response.uri = response.path;
response.type = response.mime;
response.fileName = response.filename;
success(response);
} catch (error) {
failure();
}
};
Steps to reproduce
-
Open Camera
-
Record Video
-
Press OK. and see in video player
Attachments
https://github.com/ivpusic/react-native-image-crop-picker/assets/46340921/5152c8b6-caa5-43a7-8acd-239aee3de8ac
Love react-native-image-crop-picker? Please consider supporting our collective: 👉 https://opencollective.com/react-native-image-crop-picker/donate
@ivpusic Can you please check