馃悰 After pauseRecording()
, stopRecording()
takes 4 seconds longer than if not paused
#2732
Open
4 of 5 tasks
Labels
馃悰 bug
Something isn't working
What's happening?
I logged every appendBuffer call at all if cases that are commented. While the video is recording we get a ton of
But our design calls for a pause function before saving. So we pause the video before calling stopRecording. When paused the buffer logs don't write cause the camera is paused. We have a button for the user to save and that calls stopRecording(). When that is called then these logs happen
On the react side the camera init looks like this
When the user pauses the recording we call
cameraRef.current.pauseRecording();
We then have buttons to save or retake the video. On save we call
cameraRef.current.stopRecording();
I think because it is in a pause state when we call stop no buffers are being called and that prevent finish() from happening as it normally would
Reproduceable Code
Relevant log output
Camera Device
Device
iPhone SE
VisionCamera Version
3.9.1
Can you reproduce this issue in the VisionCamera Example app?
No, I cannot reproduce the issue in the Example app
Additional information
The text was updated successfully, but these errors were encountered: