-
Notifications
You must be signed in to change notification settings - Fork 27.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[camera] Crash while recording with camera at ultraHigh resolution preset #69874
Comments
Issue replicable on latest stable and on 1.22.2 using iphone 6s and OS 14. App crashes when selecting back camera and trying to record. flutter doctor -v
|
\cc @bparrishMines |
I had the same crash when playing around with camera plugin. From the doc:
I think for now we should just drop the sample, but in the future we should consider reducing the data rate after receiving system pressure (by monitoring |
Verified this issue by running the plugin example on latest master version with iPhone 6s (OS 15.3.1) and recorded using back camera which worked properly without throwing any error. The console log I get is below while recording: console log
@orestesgaolin Although I didn't verify this on OS 14 on which this issue was originally reported, is there a way for you to verify the same using latest plugin version and framework version to see if the crash still persist at your end ? |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to Reproduce
14:00:39.537142 0100 Runner *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '*** -[AVAssetWriterInputPixelBufferAdaptor appendPixelBuffer:withPresentationTime:] A pixel buffer cannot be appended when readyForMoreMediaData is NO.' *** First throw call stack: (0x1b1ae1114 0x1c537dcb4 0x1b8ff1a10 0x1b8fef120 0x1b8ff4880 0x104352028 0x1c9f34ff0 0x1c9f34d50 0x1c9ff4248 0x1ca246524 0x1b171a280 0x1b16bf56c 0x1b16d028c 0x1b16c2e70 0x1b16c3a84 0x1b16cd518 0x1f780f5a4 0x1f7812874)
Expected results:
The recording continues just fine without error
Actual results:
Logs
The text was updated successfully, but these errors were encountered: