https://developer.apple.com/documentation/avfoundation/avcapturevideodataoutput
A capture output that records video and provides access to video frames for processing.
비디오를 레코드할 수 있도록 해주고, 프로세싱을 위한 비디오 프레임 접근을 제공하는 캡처 아웃풋입니다.
class AVCaptureVideoDataOutput : AVCaptureOutput
캡처된 비디오로부터 압축된 혹은 압축되지 않은 프레임 처리를 위해 이 아웃풋을 사용할 수 있습니다. captureOutput(_:didOutput:from:)
딜리게이트 메소드를 사용해서 프레임에 접근할 수 있습니다.
Important
AVCaptureVideoDataOutput
은 macOS에서만 압축된 비디오 데이터 아웃풋을 지원합니다.