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

Offen
#316 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
24/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript
Bereich
backend

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
TypeScript
Sterne
1
Forks
4
Ø Merge
14 Std. 8 Min.
Gemergte PRs (30 T.)
48

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus TMHSDigital/screencast-mcp

Alle Issues in TMHSDigital/screencast-mcp

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.