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

Video Recording not working on some device #1262

Open
Gaurav-pix opened this issue Dec 27, 2023 · 0 comments
Open

Video Recording not working on some device #1262

Gaurav-pix opened this issue Dec 27, 2023 · 0 comments

Comments

@Gaurav-pix
Copy link

Gaurav-pix commented Dec 27, 2023

Describe the bug

Please add a clear description of what the bug is, and fill the list below.
I was unable to record the video using the Demo app. Mostly empty video files are created occasionally video is recorded.

  • CameraView version: 2.7.2
  • Camera engine used: camera1/camera2/both
  • Reproducible in official demo app: yes
  • Device / Android version: Motorola Moto E13, API 33
  • I have read the FAQ page: yes

To Reproduce

Steps to reproduce the behavior, possibly in the demo app:

  • Click on captureVideo or captureVideoSnapshot to record video (Do this multiple time bcz sometime recording works).

Expected behavior

-When click on captureVideo or captureVideoSnapshot video recording should start and record video , but mostly(Sometime video is recorded) only empty video file is generated and video is not recorded.

XML layout

Xml is same as demo app

<CameraView
    android:layout_width="match_parent"
    android:layout_height="match_parent"       
    ...>
</CameraView>

Logs

No logs as app was not crashing or showing any error but it get stuck on isTakingVideo = true state

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