Skip to content

Commit 478c281

Browse files
committed
Fix Xcode 14.2 compile
1 parent 7fdbb0c commit 478c281

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/LiveKit/Track/Capturers/CameraCapturer.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ public class CameraCapturer: VideoCapturer {
9797
public var captureSession: AVCaptureSession {
9898
#if os(iOS)
9999
if AVCaptureMultiCamSession.isMultiCamSupported {
100-
Self._multiCamSession
100+
return Self._multiCamSession
101101
} else {
102-
AVCaptureSession()
102+
return AVCaptureSession()
103103
}
104104
#else
105-
AVCaptureSession()
105+
return AVCaptureSession()
106106
#endif
107107
}
108108

0 commit comments

Comments
 (0)