Modern Screen Capture Architecture
XerahS leverages native, high-performance APIs across all supported platforms to provide low-latency, hardware-accelerated screen recording.
Modern Architecture: XerahS prioritizes modern OS APIs (like DXGI on Windows or ScreenCaptureKit on macOS) but maintains a robust fallback chain to legacy methods (like GDI+ or CLI tools) to ensure maximum compatibility.
Windows
On Windows 10 (1803+) and Windows 11, XerahS utilizes the Windows.Graphics.Capture (WGC) and DXGI Desktop Duplication APIs.
- Technology: Direct3D11 & WinRT Integration.
- Benefits: Zero-copy GPU capture, exclusive fullscreen game support, and hardware cursor compositing.
- Fallback: Automatically switches to GDI+ (Windows Forms) on older versions (Windows 7/8) or if hardware acceleration is unavailable.
macOS
For macOS 12.3 (Monterey) and newer, XerahS integrates with the native ScreenCaptureKit framework.
- Technology: Native Objective-C bridge to ScreenCaptureKit.
- Benefits: High-performance capture with minimal CPU usage, fully adhering to macOS privacy and security standards.
- Fallback: Uses the screencapture CLI tool on older macOS versions or if permissions are restricted.
Linux
XerahS supports the diverse Linux ecosystem, including modern Wayland compositors.
- Technology: DBus communication with XDG Desktop Portals (ScreenCast/Screenshot) and native tools (Spectacle, Gnome Screenshot).
- Benefits: Native support for Wayland sessions (GNOME, KDE Plasma) without relying on XWayland.
- Fallback: Defaults to X11 XGetImage for legacy X Server sessions ensuring broad compatibility.