You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When recording video via Recorder, I try to handle an error when there is not enough memory for the recorded video. The documentation has an example with this case (developer.android).
But according to the androidx.camera.video.Recorder code, the VideoRecordEvent.Finalize.ERROR_INSUFFICIENT_STORAGE event is never called. In real use, I receive VideoRecordEvent.Finalize.ERROR_INVALID_OUTPUT_OPTIONS in VideoRecordEvent with the error java.io.FileNotFoundException: /data/user/0/**/file_name.mp4: open failed: ENOSPC (No space left on device).
Also, if the space runs out during recording, then VideoRecordEvent stops receiving any events, including VideoRecordEvent.Status
The text was updated successfully, but these errors were encountered:
When recording video via Recorder, I try to handle an error when there is not enough memory for the recorded video. The documentation has an example with this case (developer.android).
But according to the androidx.camera.video.Recorder code, the VideoRecordEvent.Finalize.ERROR_INSUFFICIENT_STORAGE event is never called. In real use, I receive VideoRecordEvent.Finalize.ERROR_INVALID_OUTPUT_OPTIONS in VideoRecordEvent with the error java.io.FileNotFoundException: /data/user/0/**/file_name.mp4: open failed: ENOSPC (No space left on device).
Also, if the space runs out during recording, then VideoRecordEvent stops receiving any events, including VideoRecordEvent.Status
The text was updated successfully, but these errors were encountered: