Video Recording not working on some device
Gaurav-pix opened this issue · 0 comments
Gaurav-pix commented
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