Skip to content

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.

Before you start

Start your migration process by updating InfobipRTC dependency to version 2.2.3 or newer. As before, we publish it on CocoaPods and Carthage.

RTC SDK 2.0 changes and deprecations

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 this tutorial.
  • Several call methods, their respective arguments, and call events were slightly renamed. Such changes are described in detail in migration guides:
  • 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.

Tutorials

Migration guides

Reference documentation

Clone this wiki locally