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

Ouverte
#316 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
24/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
typescript
Domaine
backend

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
TypeScript
Étoiles
1
Forks
4
Merge moyen
14 h 8 min
PR mergées (30 j)
48

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de TMHSDigital/screencast-mcp

Toutes les issues de TMHSDigital/screencast-mcp

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.