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
[Bug]: Windows native recorder never stops after stdin stop command (v1.7.0-rc.2) #115
Stopping a native Windows screen recording always shows Timed out waiting for native Windows capture to stop and leaves a 0-byte MP4. The editor never opens.
This occurs with a screen-only recording: system audio, microphone, webcam, and cursor capture are all disabled.
Related to #34, but it still reproduces in v1.7.0-rc.2.
Expected behavior
After clicking Stop, the native helper should process the stop command, finalize the recording, emit recording-stopped, and open the editor.
To Reproduce
On Windows 10, start a display recording.
Disable system audio, microphone, webcam, and cursor capture.
Wait a few seconds, then click Stop.
Observe the timeout error and a 0-byte MP4.
Direct helper reproduction:
Run the packaged wgc-capture.exe with a display config for the real 1920x1080 panel, captureSystemAudio: false, captureMic: false, webcamEnabled: false, captureCursor: false, and preferSoftwareEncoder: true.
It emits ready, encoder-selection: software-preferred, and recording-started.
Write stop\n to stdin and close the pipe.
The process still does not exit after 45 seconds, prints no [stop-timing] line, and leaves a 0-byte MP4.
Screenshots
No response
OS
Windows
OS Version
Windows 10 Home China, 22H2, build 19045.6466
Other OS
No response
Browser
None
Browser Version
No response
Other Browser
No response
Device Type
None
Other Device
No response
Additional context
Environment: OpenScreen 1.7.0-rc.2, Dell Inspiron 7472, Intel UHD 620 and NVIDIA MX150. Both graphics drivers were updated during investigation. The issue persists with the packaged helper run directly, so it is independent of the editor UI and normal recording options.
This change is assigned to the Next Release release milestone and is not necessarily available in the latest downloadable desktop release yet. It is currently marked as status: pending release until a packaged release containing it is published.
This change is assigned to the Next Release release milestone and is not necessarily available in the latest downloadable desktop release yet. It is currently marked as status: pending release until a packaged release containing it is published.
Activity
fix(recording): bound the video-writer frame wait to avoid a residual…
fix(wgc): stop holding the frame mutex across blocking WriteSample calls
github-actions commentedon Jul 19, 2026
Fixed by #119 and merged into
main.This change is assigned to the
Next Releaserelease milestone and is not necessarily available in the latest downloadable desktop release yet. It is currently marked asstatus: pending releaseuntil a packaged release containing it is published.fix(recording): bound the video-writer frame wait as a hang safety net
github-actions commentedon Jul 19, 2026
Fixed by #123 and merged into
main.This change is assigned to the
Next Releaserelease milestone and is not necessarily available in the latest downloadable desktop release yet. It is currently marked asstatus: pending releaseuntil a packaged release containing it is published.fix(wgc): stop holding the frame mutex across blocking WriteSample calls
fix(recording): bound the video-writer frame wait as a hang safety net
docs(testing): address CodeRabbit review on the RC checklist
docs(testing): add an RC end-to-end computer-use checklist
docs(testing): address CodeRabbit review on the RC checklist
EtienneLescot commentedon Jul 19, 2026
Moved into
v1.7.0as part of the pre-release cut.fix(wgc): stop holding the frame mutex across blocking WriteSample calls
fix(recording): bound the video-writer frame wait as a hang safety net
fix(wgc): address CodeRabbit review on the pull-based frame delivery PR
fix(wgc): address CodeRabbit review on the pull-based frame delivery PR
fix(wgc): address CodeRabbit review on the pull-based frame delivery PR