While capturing video, Android freeze if home/blocked/minimized #2235
Comments
Some more logs. Also, this happens even if the device rotates. W/CameraSource: Timed out waiting for incoming camera video frames: 479533666669 us |
Crash report from bugsnag ANR Application did not respond for at least 5000 ms |
Would also like to add that this is suspiciously related to "stock" android; that is, Google Pixel and motorola phones. This doesn't seem to happen on samsung, nor xiaomi. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and i will leave this open. |
Closing this issue after a prolonged period of inactivity. Fell free to reopen this issue, if this still affecting you. |
This issue still exists |
Can we reopen this? This is still happening on Pixel 2 with Android 10. While recording, even if stop is called on app suspend, the app will just freeze. Stack trace:
|
Pull request here: #2467 |
🎉 This issue has been resolved in version 3.3.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Bug Report
Android
Versions
While capturing a video, even if stopRecording() is called before the app transitions to background/inactive, the app will totally freeze after resuming.
I'm starting the video capture as:
result = await this.camera.recordAsync(options);
Then, on the app state change events, if background or inactive, I call
stopRecording()
I can get a console print right after the stopRecording call; however, nothing ever outputs after the await call; looks like the promise never resolves.
These are the logs that appear after resuming. No error, no crash, just this.
The text was updated successfully, but these errors were encountered: