Fix/cgdisplaystream fallback - #176
Open
jcxl8 wants to merge 3 commits into
Open
Conversation
added 3 commits
July 28, 2026 10:13
问题或需求描述:Mac mini 外接单屏环境下 Wi‑Fi 握手成功但扩展失败 修复或实现思路:仅在 Code=3 时回退 CGDisplayStream,并复用现有编码背压管线 复现路径:Extend → virtual display never appeared in SCShareableContent
问题或需求描述:虚拟显示创建成功但保持 offline,系统设置仅显示物理屏。 修复或实现思路:更新虚拟显示 productID,避开 WindowServer 对旧显示身份的持久状态。 复现路径:通过 WiFi 扩展到 iPad 后打开“系统设置 → 显示器”。
问题或需求描述:macOS Tahoe 重启后会把既有虚拟显示身份恢复成未激活状态,导致 WiFi 扩展仍显示已连接但接收端持续暗屏。 修复或实现思路:持久化虚拟显示序列代际,严格等待 online、active 与 NSScreen 就绪;捕获期间检测空白帧或离线状态并自动重建,同时保留旧实例残留的重试窗口。 复现路径:Mac 重启后通过 WiFi 连接 iPad,OpenDisplay 显示正在扩展但系统显示器列表缺少虚拟屏,iPad 暗屏。
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.
fixed wifi extend fail