-
Notifications
You must be signed in to change notification settings - Fork 0
Channelize Voice And Video SDK Documentation
rohitphogat19 edited this page Jun 20, 2019
·
9 revisions
If you are Using both API and UI SDK, then it is Already integrated in UI SDK. You can enable or Disable this feature in UI SDK customization by using below code
CHCustomOptions.enableVoiceVideo = true // TRUE => Enabled , FALSE => Disabled
If you are not using Channelize UI SDK, to make a outgoing call follow below procedure
You have to create a CHActiveCall
object by calling below method
/*
Parameters Required
1. user : Type => CHUser, Required => Yes, Description => User with whom you are making Call
2. type : Type => CallScreen, Required => Yes, Description => Type of call, Possible Values => .voice or .video
*/
let callObject = ChVoiceVideo.getCallObject(user: CHUSER_OBJECT, type: TYPE_OF_CALL)
After creating call object, call below method to start a outgoing Call
/*
Parameters Required
1. navigationContoller : Type => UINavigationController, Required => Yes
2. activeCall : Type => CHActiveCall, Required => Yes, Description => call Object Created above
*/
ChVoiceVideo.launchCallViewController(navigationController: UINAVIGATIONCONTROLLER,activeCall:CALL_OBJECT)