Skip to content

[Bug]: Windows native recorder never stops after stdin stop command (v1.7.0-rc.2) #115

Description

@todboy

Search existing issues

  • I have searched the existing issues

Describe the bug

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

  1. On Windows 10, start a display recording.
  2. Disable system audio, microphone, webcam, and cursor capture.
  3. Wait a few seconds, then click Stop.
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstatus: fixed in mainWork is merged into main but may not be in a downloadable release yet.status: pending releaseMerged change is waiting for a packaged desktop release.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions