-
Notifications
You must be signed in to change notification settings - Fork 1
Migration overview
Ajša Terko edited this page Jun 28, 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 infobip-rtc dependency to version 2.1.0 or newer. As before, we publish it as an NPM package and as a standalone JS file hosted on a CDN.
With the release of SDK 2.0, several elements are changing or are being deprecated. In summary:
-
InfobipRTC
has been changed from a class into an interface. You can see how to create an instance of it inthis tutorial
. - 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
- WebRTC Conferencing is replaced by WebRTC Rooms, and thereby the former conferencing methods are renamed accordingly
- If you previously used the
join
method to join conferences, consult the Room 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
The deprecated SDK 1.x documentation can still be consulted, until the effective end of support of the SDK 1.x.