Repository navigation
P4.4 门 1:QuickTime USB 流经代理进 GUI - #1
Conversation
- 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>
There was a problem hiding this comment.
💡 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 |
There was a problem hiding this comment.
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 👍 / 👎.
Summary
Test plan
🤖 Generated with Claude Code