From 478c2813daaf5fb910933b0fde857eae29ba7a35 Mon Sep 17 00:00:00 2001 From: hiroshihorie <548776+hiroshihorie@users.noreply.github.com> Date: Tue, 13 Aug 2024 23:20:08 +0900 Subject: [PATCH] Fix Xcode 14.2 compile --- Sources/LiveKit/Track/Capturers/CameraCapturer.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/LiveKit/Track/Capturers/CameraCapturer.swift b/Sources/LiveKit/Track/Capturers/CameraCapturer.swift index 4ab1ef278..d4d84550d 100644 --- a/Sources/LiveKit/Track/Capturers/CameraCapturer.swift +++ b/Sources/LiveKit/Track/Capturers/CameraCapturer.swift @@ -97,12 +97,12 @@ public class CameraCapturer: VideoCapturer { public var captureSession: AVCaptureSession { #if os(iOS) if AVCaptureMultiCamSession.isMultiCamSupported { - Self._multiCamSession + return Self._multiCamSession } else { - AVCaptureSession() + return AVCaptureSession() } #else - AVCaptureSession() + return AVCaptureSession() #endif }