An object that manages capture activity and coordinates the flow of data from input devices to capture outputs.
- iOS 4.0+
- macOS 10.7+
- UIKit for Mac 13.0+Beta
To perform real-time capture, you instantiate an
AVCapture object and add appropriate inputs and outputs. The following code fragment illustrates how to configure a capture device to record audio.
You use the
session property to customize the quality level, bitrate, or other settings for the output. Most common capture configurations are available through session presets; however, some specialized options (such as high frame rate) require directly setting a capture format on an