AVFoundation实践

TODO:

功能点:

  • 媒体(图片/视频/音频)捕捉功能(采集)
  • 截屏(只支持MacOS)

捕捉会话:AVCaptureSession
捕捉设备:AVCaptureDevice
捕捉设备输入:AVCaptureDeviceInput
捕捉设备输入:AVCaptureOutput(抽象类)
AVCaptureStillImageOutput
AVCaptureMovieFileOutput
AVCaptureAudioDataOutput
AVCaptureVideoDataOutput
捕捉连接:AVCaptureConnection
捕捉预览:AVCaptureVideoPreviewLayer