A capture input for recording from a screen in macOS.
SDK
- macOS 10.7+
Framework
- AVFoundation
Declaration
class AVCaptureScreenInput : AVCapture Input
Overview
AVCapture
is a concrete subclass of AVCaptureInput that provides an interface for capturing media from a screen or a portion of a screen.
Instances of AVCapture
are input sources for AVCapture
objects that provide media data from one of the screens connected to the system, represented by CGDirect
s.