diff --git a/Classes/Swift/ProviderDelegate.swift b/Classes/Swift/ProviderDelegate.swift index 76f207eb4..f50c39a3f 100644 --- a/Classes/Swift/ProviderDelegate.swift +++ b/Classes/Swift/ProviderDelegate.swift @@ -209,13 +209,13 @@ extension ProviderDelegate: CXProviderDelegate { if (UIApplication.shared.applicationState != .active) { CallManager.instance().backgroundContextCall = call CallManager.instance().backgroundContextCameraIsEnabled = call?.params?.videoEnabled == true || call?.callLog?.wasConference() == true - if #available(iOS 16.0, *) { + /*if #available(iOS 16.0, *) { if (call?.cameraEnabled == true) { call?.cameraEnabled = AVCaptureSession().isMultitaskingCameraAccessSupported } } else { call?.cameraEnabled = false // Disable camera while app is not on foreground - } + }*/ } CallManager.instance().callkitAudioSessionActivated = false CallManager.instance().lc?.configureAudioSession()