Class
SingleCameraRecordingManager
class SingleCameraRecordingManager: NSObject
Relationships
Conforms To
AVCaptureDepthDataOutputDelegate
AVCaptureFileOutputRecordingDelegate
NSObject
Initializers
init()
override init()
Properties
isRecording
var isRecording: Bool
Methods
getSession()
func getSession() -> NSObject
startRecording(username:sceneDescription:sceneType:)
func startRecording(username: String, sceneDescription: String, sceneType: String)
stopRecording()
func stopRecording()
fileOutput(_:didFinishRecordingTo:from:error:)
func fileOutput(_ output: AVCaptureFileOutput,
didFinishRecordingTo outputFileURL: URL,
from connections: [AVCaptureConnection],
error: Error?)
write camera metadata to file
depthDataOutput(_:didOutput:timestamp:connection:)
func depthDataOutput(_ output: AVCaptureDepthDataOutput, didOutput depthData: AVDepthData, timestamp: CMTime, connection: AVCaptureConnection)
depthDataOutput(_:didDrop:timestamp:connection:reason:)
func depthDataOutput(_ output: AVCaptureDepthDataOutput, didDrop depthData: AVDepthData, timestamp: CMTime, connection: AVCaptureConnection, reason: AVCaptureOutput.DataDroppedReason)