Hey there. It's not something we're currently planning to support, but we're open to contributions. The difficulty with this is that there's no pre-ScreenCaptureKit API designed for (performant) window capture.
It may be possible to use CGDisplayStream updating the source rectangle every time the window moves or resizes. That's out of scope for us currently, and would likely suffer from framing problems and the inability to capture just the target window when it's occluded.
Hey there. It's not something we're currently planning to support, but we're open to contributions. The difficulty with this is that there's no pre-ScreenCaptureKit API designed for (performant) window capture.
It may be possible to use CGDisplayStream updating the source rectangle every time the window moves or resizes. That's out of scope for us currently, and would likely suffer from framing problems and the inability to capture just the target window when it's occluded.
For reference, here are the option keys that can be set on a CGDisplayStream: Display Stream Optional Property Keys