ScannerApp-Swift Documentation

Class RGBRecorder

class RGBRecorder: Recorder  

Nested Type Aliases

T

typealias T = CVPixelBuffer

Initializers

init(video​Settings:​)

init(videoSettings: [String: Any])  

Methods

prepare​For​Recording(dir​Path:​filename:​file​Extension:​)

func prepareForRecording(dirPath: String, filename: String, fileExtension: String = "mp4")  

update(_:​timestamp:​)

func update(_ buffer: CVPixelBuffer, timestamp: CMTime?)  

write one rgb frame

update(buffer:​)

func update(buffer: CMSampleBuffer)  

write one rgb frame

finish​Recording()

func finishRecording()