Skip to content

P4.4 门 1:QuickTime USB 流经代理进 GUI - #1

Merged
wangw0922 merged 2 commits into
mainfrom
p4.4-gate1
Sep 25, 2026
Merged

wangw0922 merged 2 commits into
mainfrom
p4.4-gate1

Conversation

@wangw0922

Copy link
Copy Markdown
Owner

Summary

  • P4.4 门 1:QuickTime USB 流经代理进 GUI,渲染侧实测 50–56 变化帧/秒
  • 公开前加固:忽略 .claude/,fork PR 不在自托管 runner 上跑

Test plan

  • CI 全绿后 squash-merge

🤖 Generated with Claude Code

wangw0922 and others added 2 commits September 16, 2026 11:33
- avprobe --serve:AVFoundation 采集 + CoreImage JPEG + WDA 形状的 MJPEG 服务
- GUI debug 路径 QUADCONTROL_IOS_ATTACH=<http>:<mjpeg> 走 LaunchMode::Attach
- 渲染侧帧率计(rAF + canvas 像素比对,仅开发路径),代理下游加 CORS 头、img crossorigin
- README 第三轮补门 1 数据与拖动延迟;提案标记门 1 通过

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
.claude/ 之前未被忽略,里面的 agent worktree 副本会带出已清理过的敏感值;
仓库转为 Public 后,fork 提交的 PR 默认不再触发本机 self-hosted runner 的
job,只有源仓库自身分支的 PR / push main / 手动触发才会真正执行。

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@wangw0922
wangw0922 merged commit a1139df into main Sep 25, 2026
0 of 3 checks passed
@wangw0922
wangw0922 deleted the p4.4-gate1 branch September 25, 2026 06:49

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cb91339d31

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

}
let head = "HTTP/1.0 200 OK\r\nContent-Type: multipart/x-mixed-replace; boundary=--BoundaryString\r\n\r\n"
guard send(Data(head.utf8)) else { close(client); return }
var seq = -1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Wait for a real frame before streaming

When a client connects immediately after the advertised port but before the first capture callback, LatestFrame still contains sequence 0 and empty data, so starting this cursor at -1 makes wait(after:) return immediately and emits a zero-length image/jpeg part. The Rust proxy republishes that invalid part as a phantom frame, and WebKit may reject or reconnect the stream before any real image arrives. Initialize the cursor to 0 or represent the no-frame state explicitly so the client blocks until the first JPEG is published.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant