Expand description
Swift FFI based SCStream implementation
This is the primary (and only) implementation in v1.0+.
All ScreenCaptureKit operations use direct Swift FFI bindings.
Each stream owns a heap-allocated StreamContext that holds its output
handlers and delegate. The context pointer is passed through FFI so that
callbacks route directly to the owning stream — no global registries.
Structs§
- SCStream
SCStreamis a lightweight wrapper around the SwiftSCStreaminstance. It provides direct FFI access toScreenCaptureKitfunctionality.