Repository navigation
fix: backport DiPlay microphone, wireless and USB reliability improvements - #14
Merged
Merged
Conversation
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.
部分车机缺少系统 Opus 编码器,Siri/通话录音可能在读取错误后直接停止;无线启动会在热点尚未稳定时发布地址,或在 StartSession 后一直等不到 TCP;USB 超时与完成重叠、NTB 分片和配置切换也会造成启动缓慢或连接中断。本 PR 移植 DiPlay 对应的中高优先级修复,并适配 WheelPlay 的浏览器麦克风和连接生命周期。
基于本次 fetch 后最新的
origin/main:5c5b080acecf7757e3f38b20c3a10391dcb74cac(已包含 #11)。改动
上游依据
实现与回归用例参考 DiPlay 0.2.19 的代码基线,按 WheelPlay 现有架构适配,具体关联如下:
软件 Opus 引入上游原样保留的 Concentus Java 源码(124 个 Java 文件,占本 PR 大部分新增行数),来源为
lostromb/concentus@3885c4e46513ef0fc81fca100189e54f1714c6ca,保留 BSD-style 版权和许可证,并将许可证随 APK 分发。Android 最低版本仍为 28。验证
:shared:testDebugUnitTest:419 条通过;:common:testDebugUnitTest:252 条通过,共 671 条,无失败或跳过。:mobile:lintDebug:通过,0 errors(18 warnings)。:mobile:assembleDebug:通过,APK 内已确认包含 Concentus 许可证。使用 JDK 25 / Android SDK 36 执行:
硬件相关的 Siri/通话、热点冷启动、iOS USB 模式及长时间连接表现仍需在真实 iPhone 和车机上验证;软件回放与模拟测试不能替代实车验证。