fix: Fix missing self for delegate

This commit is contained in:
Marc Rousavy 2023-10-24 13:39:25 +02:00
parent 86b3b9e1d7
commit 62be941dbb
No known key found for this signature in database
GPG Key ID: 8B9C709EA0B16A6D

View File

@ -163,7 +163,7 @@ class CameraSession: NSObject, AVCaptureVideoDataOutputSampleBufferDelegate, AVC
// Notify about Camera initialization // Notify about Camera initialization
if difference.inputChanged { if difference.inputChanged {
delegate?.onSessionInitialized() self.delegate?.onSessionInitialized()
} }
} catch { } catch {
self.onConfigureError(error) self.onConfigureError(error)