-
Notifications
You must be signed in to change notification settings - Fork 3
Migration overview
Ajša Terko edited this page Dec 6, 2023
·
3 revisions
Warning
Following the major release of our new RTC SDK 2.0, we are deprecating the SDK 1.x releases. The SDK 1.x will be out of service on 31/10/2023.
Migration guides are written for the existing customers, currently using SDK 1.x, who must migrate to the newer release before the end of service date.
Start your migration process by updating InfobipRTC dependency to version 2.2.3 or newer. As before, we publish it on CocoaPods and Carthage.
With the release of SDK 2.0, several elements are changing or are being deprecated. In summary:
-
InfobipRTC
has been changed from a class with static method modifiers into a protocol. You can see how to use it in thistutorial
. - Several call methods, their respective arguments, and call events were slightly renamed. Such changes are described in
detail in migration guides:
- if you previously used the
call
method, consult the WebRTC-to-WebRTC calls migration guide - if you previously used the
callPhoneNumber
method, consult the WebRTC-to-Phone calls migration guide
- if you previously used the
- The
callSIP
method is deprecated.- Note that you can use our Calls API platform to orchestrate the connection between the webRTC and SIP call legs
- Error codes have been updated to be more granular
- For a more consistent experience, the naming convention across all enums has been revised to conform to a single naming convention (camel case)
The deprecated SDK 1.x documentation can still be consulted, until the effective end of support of the SDK 1.x.