Expand description
Swift FFI bridge to ScreenCaptureKit
Functions§
- cgimage_
free_ ⚠data - cgimage_
get_ ⚠data - cgimage_
get_ ⚠height - cgimage_
get_ ⚠width - cgimage_
release ⚠ - cv_
pixel_ ⚠buffer_ get_ iosurface - cv_
pixel_ ⚠buffer_ is_ backed_ by_ iosurface - dispatch_
queue_ ⚠create - dispatch_
queue_ ⚠release - iosurface_
get_ ⚠base_ address - iosurface_
get_ ⚠bytes_ per_ row - iosurface_
get_ ⚠height - iosurface_
get_ ⚠pixel_ format - iosurface_
get_ ⚠width - iosurface_
is_ ⚠in_ use - iosurface_
lock ⚠ - iosurface_
release ⚠ - iosurface_
unlock ⚠ - sc_
content_ ⚠filter_ create_ with_ desktop_ independent_ window - sc_
content_ ⚠filter_ create_ with_ display_ excluding_ windows - sc_
content_ ⚠filter_ create_ with_ display_ including_ applications_ excepting_ windows - sc_
content_ ⚠filter_ create_ with_ display_ including_ windows - sc_
content_ ⚠filter_ get_ content_ rect - sc_
content_ ⚠filter_ release - sc_
content_ ⚠filter_ retain - sc_
content_ ⚠filter_ set_ content_ rect - sc_
content_ ⚠sharing_ picker_ configuration_ create - sc_
content_ ⚠sharing_ picker_ configuration_ release - sc_
content_ ⚠sharing_ picker_ configuration_ retain - sc_
content_ ⚠sharing_ picker_ configuration_ set_ allowed_ picker_ modes - sc_
content_ ⚠sharing_ picker_ show - sc_
display_ ⚠get_ display_ id - sc_
display_ ⚠get_ frame - sc_
display_ ⚠get_ height - sc_
display_ ⚠get_ width - sc_
display_ ⚠release - sc_
display_ ⚠retain - sc_
initialize_ ⚠core_ graphics - Force CoreGraphics initialization by calling
CGMainDisplayIDThis preventsCGS_REQUIRE_INITcrashes on headless systems - sc_
recording_ ⚠output_ configuration_ create - sc_
recording_ ⚠output_ configuration_ release - sc_
recording_ ⚠output_ configuration_ retain - sc_
recording_ ⚠output_ configuration_ set_ average_ bitrate - sc_
recording_ ⚠output_ configuration_ set_ output_ url - sc_
recording_ ⚠output_ configuration_ set_ video_ codec - sc_
recording_ ⚠output_ create - sc_
recording_ ⚠output_ release - sc_
recording_ ⚠output_ retain - sc_
running_ ⚠application_ get_ application_ name - sc_
running_ ⚠application_ get_ bundle_ identifier - sc_
running_ ⚠application_ get_ process_ id - sc_
running_ ⚠application_ release - sc_
running_ ⚠application_ retain - sc_
screenshot_ ⚠manager_ capture_ image - sc_
screenshot_ ⚠manager_ capture_ sample_ buffer - sc_
shareable_ ⚠content_ get - sc_
shareable_ ⚠content_ get_ application_ at - sc_
shareable_ ⚠content_ get_ applications_ count - sc_
shareable_ ⚠content_ get_ current_ process_ displays - sc_
shareable_ ⚠content_ get_ display_ at - sc_
shareable_ ⚠content_ get_ displays_ count - sc_
shareable_ ⚠content_ get_ sync - Synchronous blocking call to get shareable content
Returns content pointer on success, or writes error to
error_buffer - sc_
shareable_ ⚠content_ get_ window_ at - sc_
shareable_ ⚠content_ get_ windows_ count - sc_
shareable_ ⚠content_ get_ with_ options - Async callback-based shareable content retrieval with options
- sc_
shareable_ ⚠content_ release - sc_
shareable_ ⚠content_ retain - sc_
stream_ ⚠add_ stream_ output - sc_
stream_ ⚠add_ stream_ output_ with_ queue - sc_
stream_ ⚠configuration_ create - sc_
stream_ ⚠configuration_ get_ capture_ dynamic_ range - sc_
stream_ ⚠configuration_ get_ capture_ resolution - sc_
stream_ ⚠configuration_ get_ captures_ audio - sc_
stream_ ⚠configuration_ get_ captures_ microphone - sc_
stream_ ⚠configuration_ get_ captures_ shadows_ only - sc_
stream_ ⚠configuration_ get_ channel_ count - sc_
stream_ ⚠configuration_ get_ destination_ rect - sc_
stream_ ⚠configuration_ get_ excludes_ current_ process_ audio - sc_
stream_ ⚠configuration_ get_ height - sc_
stream_ ⚠configuration_ get_ ignore_ fraction_ of_ screen - sc_
stream_ ⚠configuration_ get_ ignore_ global_ clipboard - sc_
stream_ ⚠configuration_ get_ ignores_ shadow_ display_ configuration - sc_
stream_ ⚠configuration_ get_ ignores_ shadows_ single_ window - sc_
stream_ ⚠configuration_ get_ includes_ child_ windows - sc_
stream_ ⚠configuration_ get_ increase_ resolution_ for_ retina_ displays - sc_
stream_ ⚠configuration_ get_ microphone_ capture_ device_ id - sc_
stream_ ⚠configuration_ get_ minimum_ frame_ interval - sc_
stream_ ⚠configuration_ get_ pixel_ format - sc_
stream_ ⚠configuration_ get_ presenter_ overlay_ privacy_ alert_ setting - sc_
stream_ ⚠configuration_ get_ preserve_ aspect_ ratio - sc_
stream_ ⚠configuration_ get_ preserves_ aspect_ ratio - sc_
stream_ ⚠configuration_ get_ queue_ depth - sc_
stream_ ⚠configuration_ get_ sample_ rate - sc_
stream_ ⚠configuration_ get_ scales_ to_ fit - sc_
stream_ ⚠configuration_ get_ should_ be_ opaque - sc_
stream_ ⚠configuration_ get_ shows_ cursor - sc_
stream_ ⚠configuration_ get_ source_ rect - sc_
stream_ ⚠configuration_ get_ stream_ name - sc_
stream_ ⚠configuration_ get_ width - sc_
stream_ ⚠configuration_ release - sc_
stream_ ⚠configuration_ retain - sc_
stream_ ⚠configuration_ set_ background_ color - sc_
stream_ ⚠configuration_ set_ capture_ dynamic_ range - sc_
stream_ ⚠configuration_ set_ capture_ resolution - sc_
stream_ ⚠configuration_ set_ captures_ audio - sc_
stream_ ⚠configuration_ set_ captures_ microphone - sc_
stream_ ⚠configuration_ set_ captures_ shadows_ only - sc_
stream_ ⚠configuration_ set_ channel_ count - sc_
stream_ ⚠configuration_ set_ color_ matrix - sc_
stream_ ⚠configuration_ set_ color_ space_ name - sc_
stream_ ⚠configuration_ set_ destination_ rect - sc_
stream_ ⚠configuration_ set_ excludes_ current_ process_ audio - sc_
stream_ ⚠configuration_ set_ height - sc_
stream_ ⚠configuration_ set_ ignore_ fraction_ of_ screen - sc_
stream_ ⚠configuration_ set_ ignore_ global_ clipboard - sc_
stream_ ⚠configuration_ set_ ignores_ shadow_ display_ configuration - sc_
stream_ ⚠configuration_ set_ ignores_ shadows_ single_ window - sc_
stream_ ⚠configuration_ set_ includes_ child_ windows - sc_
stream_ ⚠configuration_ set_ increase_ resolution_ for_ retina_ displays - sc_
stream_ ⚠configuration_ set_ microphone_ capture_ device_ id - sc_
stream_ ⚠configuration_ set_ minimum_ frame_ interval - sc_
stream_ ⚠configuration_ set_ pixel_ format - sc_
stream_ ⚠configuration_ set_ presenter_ overlay_ privacy_ alert_ setting - sc_
stream_ ⚠configuration_ set_ preserve_ aspect_ ratio - sc_
stream_ ⚠configuration_ set_ preserves_ aspect_ ratio - sc_
stream_ ⚠configuration_ set_ queue_ depth - sc_
stream_ ⚠configuration_ set_ sample_ rate - sc_
stream_ ⚠configuration_ set_ scales_ to_ fit - sc_
stream_ ⚠configuration_ set_ should_ be_ opaque - sc_
stream_ ⚠configuration_ set_ shows_ cursor - sc_
stream_ ⚠configuration_ set_ source_ rect - sc_
stream_ ⚠configuration_ set_ stream_ name - sc_
stream_ ⚠configuration_ set_ width - sc_
stream_ ⚠create - sc_
stream_ ⚠release - sc_
stream_ ⚠retain - sc_
stream_ ⚠start_ capture - sc_
stream_ ⚠stop_ capture - sc_
stream_ ⚠update_ configuration - sc_
stream_ ⚠update_ content_ filter - sc_
window_ ⚠get_ frame - sc_
window_ ⚠get_ owning_ application - sc_
window_ ⚠get_ title - sc_
window_ ⚠get_ window_ id - sc_
window_ ⚠get_ window_ layer - sc_
window_ ⚠is_ active - sc_
window_ ⚠is_ on_ screen - sc_
window_ ⚠release - sc_
window_ ⚠retain