forked from mirrors/linphone-iphone
Linphone Video displayed in Callkit notification when a video call is received
This commit is contained in:
parent
858094ecc5
commit
cef2e693ea
1 changed files with 3 additions and 1 deletions
|
|
@ -587,7 +587,9 @@ class TelecomManager: ObservableObject {
|
|||
// Tha app is now registered, updated the call already existed.
|
||||
self.providerDelegate.updateCall(uuid: uuid!, handle: addr!.asStringUriOnly(), hasVideo: self.remoteConfVideo, displayName: displayName)
|
||||
} else {
|
||||
self.displayIncomingCall(call: call, handle: addr!.asStringUriOnly(), hasVideo: self.remoteConfVideo, callId: callId, displayName: displayName)
|
||||
let videoEnabled = call.remoteParams?.videoEnabled ?? false
|
||||
let isConference = call.callLog?.wasConference() ?? false
|
||||
self.displayIncomingCall(call: call, handle: addr!.asStringUriOnly(), hasVideo: videoEnabled && !isConference, callId: callId, displayName: displayName)
|
||||
}
|
||||
} /* else if UIApplication.shared.applicationState != .active {
|
||||
// not support callkit , use notif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue