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

Aberta
#316 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
24/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
typescript
Domínio
backend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
TypeScript
Estrelas
1
Forks
4
Merge médio
14h 8min
PRs com merge (30d)
48

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de TMHSDigital/screencast-mcp

Todas as issues de TMHSDigital/screencast-mcp

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.