scap-vc 0.1.0

Patched fork of scap 0.0.8 for visual-cortex: cross-process window capture on macOS (ScreenCaptureKit-based dimensions/scale) and panic-free capture start/stop. MIT, upstream attribution retained.
1
2
3
4
5
use windows_capture::graphics_capture_api::GraphicsCaptureApi;

pub fn is_supported() -> bool {
    GraphicsCaptureApi::is_supported().expect("Failed to check support")
}