A capture input for recording from a screen in macOS.
AVCaptureScreenInput is a concrete subclass of AVCaptureInput that provides an interface for capturing media from a screen or a portion of a screen.
AVCaptureScreenInput are input sources for
AVCaptureSession objects that provide media data from one of the screens connected to the system, represented by
Initializing a Capture Screen Input
Initializes a capture screen input that provides media data from the specified display.
Initializes a capture screen input that provides media data from the main screen.
Creates a capture screen input that provides media data from the main screen.
Setting Video Capture Options
Indicates the bounding rectangle of the screen area to be captured, in pixels.
Indicates the factor by which video buffers captured from the screen are to be scaled.
Capturing Mouse Activity
A Boolean value that specifies whether the mouse cursor appears in the captured output.
A Boolean value that specifies whether mouse clicks appear highlighted in the captured output.
A Boolean value that specifies whether the capture input skips duplicate frames.