Repository navigation
feat: 实现多输入源框架、CarPlay 适配与三类诊断源 - #33
Merged
Merged
Conversation
Add protocol-neutral session and input contracts, retain CarPlay through a compatibility adapter, and exercise encoded, Surface and framebuffer ingress. Keep resource ownership until teardown completes and allow the Web host without MFi provisioning. Refs #28; real Android Auto, ICCOA and desktop/VNC adapters remain follow-up stages.
fython
marked this pull request as ready for review
October 23, 2026 12:06
This was referenced Oct 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
此前 Web、触控和后台媒体依赖 CarPlay 控制器,缺少 MFi 资源时连浏览器宿主也无法启动。本 PR 引入协议无关的投影会话与输入路由,包装现有 CarPlay,并提供 H.264、Surface、framebuffer 三类诊断源。无 MFi 时可以启动 Web 和诊断源,CarPlay 连接仍保留认证检查。
Refs #28。本 PR 落地 P0–P2 的代码基础;P3–P5 的真实协议接入仍待完成,不关闭整个跟踪 Issue。已同步 main
b7d028a。实现
docs/PROJECTION_IMPLEMENTATION.md。验证
提交
defa30f验证通过::mobile:assembleDebug、:mobile:lintDebug通过。npm test:167 项通过;npm run check通过。npm run test:browser:media:真实 Chromium/WebSocket 测试通过,覆盖多触点、只读源、图像回退、会话隔离及浏览器媒体控制。CI:构建检查和 Android 36 浏览器运行时测试通过。Android 28 任务重跑后仍在模拟器启动后的
adb shell input keyevent 82返回 137,测试 APK 尚未安装、测试尚未执行,因此该项没有取得验证结果。日志:https://github.com/fython/wheelplay/actions/runs/39947590039/job/120404648595范围与限制
本 PR 未接入 AA、ICCOA、桌面或 VNC 协议;ICCOA 仍需要外部专有 SDK。
切源会断开当前浏览器观看连接,需要重新连接,以兼容没有会话版本字段的旧浏览器。