diff --git a/NextcloudTalk/NCCameraController.swift b/NextcloudTalk/NCCameraController.swift index 28ae15b81..709bcd5b6 100644 --- a/NextcloudTalk/NCCameraController.swift +++ b/NextcloudTalk/NCCameraController.swift @@ -220,9 +220,9 @@ class NCCameraController: NSObject, AVCaptureVideoDataOutputSampleBufferDelegate self.session?.sessionPreset = .inputPriority if self.usingFrontCamera { - self.session?.addInput(getFrontCameraInput()) + self.session?.addInput(self.getFrontCameraInput()) } else { - self.session?.addInput(getBackCameraInput()) + self.session?.addInput(self.getBackCameraInput()) } let output = AVCaptureVideoDataOutput()