Irfan Khatik
Irfan Khatik

Reputation: 146

How to add group call using CXSetGroupCallAction

I want to add new call to active call. How to add new call in existing call as group / conference call?

Upvotes: 2

Views: 478

Answers (1)

alekseevpg
alekseevpg

Reputation: 523

You'll need to do something like this

 let groupAction = CXSetGroupCallAction(call: callUUID, callUUIDToGroupWith: secondCallUUID)
 let transaction = CXTransaction()
 transaction.addAction(groupAction)
 let callController = CXCallController()
 callController.request(transaction) { error in         
     //completion?(error)
 }

After that you want to catch those requests from CXProviderDelegate and pass them to your voip library

Upvotes: 1

Related Questions