Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Recorded Video first frame is black #2032

Open
codal-mpawar opened this issue Mar 7, 2024 · 1 comment
Open

Android Recorded Video first frame is black #2032

codal-mpawar opened this issue Mar 7, 2024 · 1 comment

Comments

@codal-mpawar
Copy link

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

  1. When we recorded the video from Camera the captured video first frame was not black screen.

Actual behavior

  1. 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

  1. Open Camera

  2. Record Video

  3. Press OK. and see in video player

Attachments

Screen.Recording.2024-03-07.at.2.46.49.PM.mov

Love react-native-image-crop-picker? Please consider supporting our collective:
👉 https://opencollective.com/react-native-image-crop-picker/donate

@codal-mpawar
Copy link
Author

@ivpusic Can you please check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant