Skip to content

Comments

[draft] camera crash#11106

Draft
LouiseHsu wants to merge 6 commits intoflutter:mainfrom
LouiseHsu:camera-crash
Draft

[draft] camera crash#11106
LouiseHsu wants to merge 6 commits intoflutter:mainfrom
LouiseHsu:camera-crash

Conversation

@LouiseHsu
Copy link
Contributor

@LouiseHsu LouiseHsu commented Feb 23, 2026

The iPhone 17 family's new camera supports a new pixel format, btp2, which is a lossy, compressed format. At extreme 12MP+ resolutions, AVFoundation's memory bus cannot sustain uncompressed video. It drops support for standard YUV/BGRA and strictly outputs Apple's proprietary, heavily compressed formats (e.g., 1651798066 / btp2). The Flutter Engine's Metal texture renderer expects raw pixels and crashes immediately when fed this zipped format. iPhone 17 lenses also expose massive 1:1 raw sensor formats (e.g., 4032x4032).

Pre-Review Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant