I tried using this crate:
https://crates.io/crates/windows-capture
But I am getting following when I try to run project:
Got The Flag: Yea This Works
thread 'main' panicked at src\commands\record_video.rs:102:26:
Screen Capture Failed: GraphicsCaptureApiError(BorderConfigUnsupported)```
I have following settings for recording and it seems that on the Windows 10 it cant be recorded without border as developer said:
```rust
let settings = Settings::new(
// Item To Captue
primary_monitor,
// Capture Cursor Settings
CursorCaptureSettings::WithCursor,
// Draw Borders Settings
DrawBorderSettings::Default,
// The desired color format for the captured frame.
ColorFormat::Rgba8,
// Additional flags for the capture settings that will be passed to user defined `new` function.
"Yea This Works".to_string(),
)
.unwrap();
Is there any better crate for screen recording so I can record without borders?