fix(stream): separate end-game failure from reconnect and extend confirmation wait - #32
Merged
Merged
Conversation
Closed
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.
结束游戏的错误页原先复用了启动意图,按 A 重试会重新启动游戏。现在错误页保留结束操作类型;清理后的会话不再提供连接重试,直接或迟到的重试动作也不能发出启动请求,用户可返回首页。
根据用户观察,Steam 可能在游戏退出后仍需等待大屏模式收尾。复核官方 1.3.32 反汇编与协议,未找到能把 Desktop/视频停止/ACK 可靠解释为游戏进程退出的依据。保持既有确认来源,将本地等待上限从 15 秒调整为 60 秒,并允许 B 停止等待、断开串流。60 秒是本地策略,不是协议保证。
确认优先于同轮超时;清理时保留结束观察状态至 join 完成,并在销毁 session 前读取 host-stop,避免丢失清理期间到达的完成事实。成功结束和取消均使旧 UI 事件失效。
验证:51 项桌面回归;诊断 ON/OFF 的 UI/native/结束观察相关测试;Switch 双配置构建及 release 诊断排除检查。覆盖重复确认/重试、取消与成功后的迟到事件、等待取消和超时边界。尚未重新真机验证,延长等待是否覆盖该主机的大屏收尾时间仍待实测。
Related to #27