Commit f5aeea9c authored by DanmeiChen's avatar DanmeiChen
Browse files

fix conference issue

parent 4c026f68
Pipeline #26978 passed with stage
in 4 minutes and 34 seconds
......@@ -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()
}
......@@ -394,6 +396,14 @@ 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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment