3 ms·
I mean, it's not a bad engineering philosophy for things as low-level as this to be provided by the OS as a framework. Capturing screen output at a high refres
by ninkendo 5y ago
I mean, it's not a bad engineering philosophy for things as low-level as this to be provided by the OS as a framework. Capturing screen output at a high refresh rate without introducing lag may be better implemented with lower-level access to certain system components, in a way that may require certain privileges in order to make it work.
You can provide a nice higher-level API (like ScreenCaptureKit) to access such "privileged" capabilities from normal apps, so that arbitrary open-source software (like OBS) can hook into it.
It seems like Apple already made ScreenCaptureKit for their platforms, and wanted to help OBS by hooking it up to ScreenCaptureKit to take advantage of that work.
The alternative, which is to do all the private/privileged stuff directly in OBS, means that Apple would have to give the general ability for arbitrary software to do what ScreenCaptureKit is doing, which may be a security issue (spyware that snoops on what's being displayed on screen comes to mind.) Making something like ScreenCaptureKit as the supported interface to do this kind of thing, can ensure the app triggers the proper permissions dialog/etc so that screen recording doesn't happen without user knowledge.