You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WGC backend parity: system audio, pause/resume, replay buffer, webcam #316
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.
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.
System audio done in 8e12ca2: backend "wgc" takes audio { source: "system" }. The WGC encoder records the dshow loopback device as a second input, starting at the window's first frame, and -shortest ends it with the video when the recorder closes stdin. Verified with unit tests and the real encoder command, using a tone in place of the device (no loopback device on the dev machine). Still open: pause/resume, the replay buffer and the webcam with wgc. Each needs the WGC recorder to run as restartable segments, as the ffmpeg backends do.
Activity
feat(wgc): record system audio with the WGC backend (#316)
TMHSDigital commentedon Nov 16, 2026
System audio done in 8e12ca2: backend "wgc" takes audio { source: "system" }. The WGC encoder records the dshow loopback device as a second input, starting at the window's first frame, and -shortest ends it with the video when the recorder closes stdin. Verified with unit tests and the real encoder command, using a tone in place of the device (no loopback device on the dev machine). Still open: pause/resume, the replay buffer and the webcam with wgc. Each needs the WGC recorder to run as restartable segments, as the ffmpeg backends do.