Instance Property

cropRect

Indicates the bounding rectangle of the screen area to be captured, in pixels.

Declaration

@property(nonatomic) CGRect cropRect;

Discussion

By default, AVCaptureScreenInput captures the entire area of the displayID with which it is associated.

Set the value of this property to limit the capture rectangle to a subsection of the screen.

The rectangle should define a smaller section of the screen in the screen’s coordinate system. The origin (0,0) is the bottom-left corner of the screen.

See Also

Setting Video Capture Options

minFrameDuration

The screen input's minimum frame duration.

scaleFactor

Indicates the factor by which video buffers captured from the screen are to be scaled.