Apple ScreenCaptureKit for NodeJS
https://github.com/justjake/node-screencapturekit.git
Filter and select Mac screen content and stream it to NodeJS using Apple's ScreenCaptureKit.
Use the ScreenCaptureKit framework to add support for high-performance frame capture of screen ~and audio content~ to your Mac NodeJS app. The framework gives you fine-grained control to select and stream only the content that you want to capture. As a stream captures ~new video frames and audio samples, it passes them to your app as CMSampleBuffer objects that contain the media data and its related metadata. ScreenCaptureKit also provides a macOS-integrated picker for streaming selection and management, SCContentSharingPicker~.
This is early days for the project. Install via Git:
npm add git://github.com/justjake/node-screencapturekit
There may be a version available in NPM but it probably is out of date and/or not code signed correctly.
For a demo of the available features, see the demo or read the source code.
See also the [API documentation for Apple's ScreenCaptureKit]()
Built with node-swift.
Get started:
npm install
npm start
Swift goes in ./Sources.
Typescript goes in ./src and builds into ./lib.