WGC backend parity: system audio, pause/resume, replay buffer, webcam

未关闭
#316 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
24/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript
领域
backend

调研方向

Start with the "not supported" branches in src/tools/startRecording.ts (around lines 150-152, 223, 229-231 and 250-252) and the pause rejection at src/utils/pause.ts:164, then read src/utils/pause.ts to see the gdigrab segment model. The open questions are audio clock alignment and whether the process model in wgcRecorder.ts allows segmenting, so read that file before choosing an approach. Done means the audio and pause/resume acceptance criteria pass on the WGC backend, and the remaining gaps are documented.

由索引模型根据 Issue 内容生成。

描述

enhancement priority: medium

Summary

The WGC backend (the only one that records covered or moving windows) rejects audio, pause, replay buffer and webcam with "not supported ... yet" errors, and no issue tracks closing the gap.

Where

  • src/tools/startRecording.ts:150-152, 223 (audio)
  • src/tools/startRecording.ts:229-231 (replayBufferSec)
  • src/tools/startRecording.ts:250-252 (webcam)
  • src/utils/pause.ts:164 (pause)

Impact

Recording one app's window with its sound, or keeping an instant replay of one window, forces a fallback to gdigrab, which records whatever is on top.

Suggested fix

Start with audio (gdigrab already adds a dshow loopback input). Pause could reuse the gdigrab segment model in utils/pause.ts; replay and webcam later. Open questions: aligning audio with the gfxcapture clock (first frame arrives late), and whether the wgcRecorder.ts process model allows segmenting.

Acceptance criteria

  • Audio supported on wgc
  • Pause/resume supported on wgc
  • Remaining gaps documented

Getting started

  • Relevant files: src/tools/startRecording.ts, src/utils/pause.ts
  • How to run tests: npm run build && npm test (also npm run typecheck and npm run lint)
  • Related docs: CONTRIBUTING.md, AGENTS.md

Filed by repo-audit/full-audit at f2fda28. Severity: medium. Effort: L. audit-key: enhancement|src/tools/startRecording.ts|wgc-feature-parity

主要语言
TypeScript
星标
1
派生
4
平均合并
14 小时 8 分钟
30 天内合并 PR
48

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

TMHSDigital/screencast-mcp 的其他 Issue

查看 TMHSDigital/screencast-mcp 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。