Contents

AVCaptureScreenInput

A capture input for recording from a screen in macOS.

Declaration

class AVCaptureScreenInput

Overview

This class is a concrete capture input subclass that provides an interface to capture media from a screen or a portion of a screen.

Use instances of this class as input sources for AVCaptureSession objects that provide media data from one of the screens connected to the system, represented by CGDirectDisplayID.

Topics

Initializing a capture screen input

Setting video capture options

Capturing mouse activity

Deprecated