mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
fix conference issue
This commit is contained in:
parent
4c026f68c4
commit
f5aeea9c96
1 changed files with 11 additions and 1 deletions
|
|
@ -322,6 +322,8 @@ import AVFoundation
|
|||
let groupAction = CXSetGroupCallAction(call: currentUuid!, callUUIDToGroupWith: newUuid)
|
||||
let transcation = CXTransaction(action: groupAction)
|
||||
requestTransaction(transcation, action: "groupCall")
|
||||
|
||||
setResumeCalls()
|
||||
} else {
|
||||
try? lc?.addAllToConference()
|
||||
}
|
||||
|
|
@ -393,7 +395,15 @@ import AVFoundation
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
func setResumeCalls() {
|
||||
for call in CallManager.instance().lc!.calls {
|
||||
if (call.state == .Paused || call.state == .Pausing || call.state == .PausedByRemote) {
|
||||
setHeld(call: call, hold: false)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@objc func performActionWhenCoreIsOn(action: @escaping ()->Void ) {
|
||||
if (globalState == .On) {
|
||||
action()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue