-
-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug π
When running the provided graphics_capture example using v2.0.0-alpha.7 (main branch), the application panics with a Windows API error.
The error message is:
Screen capture failed: GraphicsCaptureApiError(WindowsError(Error { code: HRESULT(0x800401FD), message: "Object is not connected to server" }))
This occurs at line 122 in examples\graphics_capture.rs.
Expected behavior π
The example should initialize the Graphics Capture API, start a capture session, and run without crashing.
OS π€
- Version: [e.g. 10]
- Build[e.g. 22H2]
Additional context β
cargo run --example graphics_capture
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s
Running `target\debug\examples\graphics_capture.exe`
thread 'main' (15604) panicked at examples\graphics_capture.rs:122:30:
Screen capture failed: GraphicsCaptureApiError(WindowsError(Error { code: HRESULT(0x800401FD), message: "Object is not connected to server" }))
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working