forked from mirrors/linphone-iphone
Fix compilation
This commit is contained in:
parent
b63779b65e
commit
736059f699
1 changed files with 2 additions and 2 deletions
|
|
@ -192,8 +192,8 @@ extension ProviderDelegate: CXProviderDelegate {
|
|||
|
||||
if (UIApplication.shared.applicationState != .active) {
|
||||
CallManager.instance().backgroundContextCall = call
|
||||
CallManager.instance().backgroundContextCameraIsEnabled = call.params?.videoEnabled == true || call.callLog?.wasConference() == true
|
||||
call.cameraEnabled = false // Disable camera while app is not on foreground
|
||||
CallManager.instance().backgroundContextCameraIsEnabled = call?.params?.videoEnabled == true || call?.callLog?.wasConference() == true
|
||||
call?.cameraEnabled = false // Disable camera while app is not on foreground
|
||||
}
|
||||
CallManager.instance().callkitAudioSessionActivated = false
|
||||
CallManager.instance().lc?.configureAudioSession()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue