Hi, I need help with the expo camera to record video. when I call the recordAsync it will immediately stop recording somehow without me calling stopRecording.
Current Behavior:
tap on record button. start recording
will show error message (fail to stop error) or will call finish recording (console log show file uri and vibrate)
hey! for some reason I can’t reproduce the error with the snack, I just got the black screen when I started recording. to fix that I just changed the view that covers most of the screen to be transparent.
other than that the video seemed to be recording fine, I opened it up in xde and it returned the file uri when I stopped recording. is there any unique thing that you do that causes it to error? on the first app open? interacting with other buttons?
Hi @samee. No, there is no other thing I do or change. I am testing in evercoss A65 and android v 6.0.1 . Is it affecting?
Update:
I somehow manage to make it work. What I do is adding all the view (inside the camera tag) one by one. It finally does not call stop when I make sure that the nested view is not too deep. (three layer nested view most), if more than it will generally call the stop immediately somehow.
As a note, I can have many layer of nested view if not inside camera normally on other projects.