Skip to content

Instantly share code, notes, and snippets.

@Danesz
Created May 14, 2020 21:44
Show Gist options
  • Save Danesz/6ea017ef2a448420a816cea9b59f7d66 to your computer and use it in GitHub Desktop.
Save Danesz/6ea017ef2a448420a816cea9b59f7d66 to your computer and use it in GitHub Desktop.
CameraViewController.swift - captureOutput
func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
// do stuff here with the video
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment