正准备开个会员,结果 opencode 可以限时免费用了,赶紧试了试,对项目问题的分析很到位,但怎么推理用的数据那么旧?
Let me search for more specific information about libmedia and iOS Safari limitations.
◈ Exa Web Search "libmedia AVTranscoder iOS Safari performance file size limitations WASM 2024"
◈ Exa Web Search "iPhone Safari file upload size limit blob memory WebAssembly"
Thinking: Based on the search results, I can now provide a comprehensive answer about Option 2 (libmedia/AVTranscoder) and its viability on iPhone Safari:
Key findings:
1. iOS Safari WASM Memory Issues:
- There's a history of Out-Of-Memory (OOM) errors on iOS when using WASM (GitHub issue from 2022 shows "Unhandled Promise Rejection: RangeError: Out of Memory" on iOS 15.2)
- ffmpeg.wasm has a 2GB file size limit (GitHub issue #623)
- Safari WASM was limited to 2GB until 2021, now supports up to 4GB but with memory fragmentation issues
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.