Skip to content

Commit c6fbc79

Browse files
Ajša TerkoAjša Terko
Ajša Terko
authored and
Ajša Terko
committed
Pull request #42: aterko/WEBRTC-2-Fix_on_how_to_use_SDK
Merge in WEBRTC/infobip-rtc-js from aterko/WEBRTC-2-Fix_on_how_to_use_SDK to master Squashed commit of the following: commit 91ac9dc696403adddeb3aa86e357bb3f606b665e Author: Ajša Terko <[email protected]> Date: Wed Apr 3 13:01:40 2024 +0200 Fix
1 parent 0ed85aa commit c6fbc79

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

README.md

+2-22
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
### WebRTC SDK 1.x deprecation
2-
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
3-
service on 31/10/2023. All new WebRTC customers must use the SDK 2.x, and customers still using SDK 1.x must migrate
4-
to the newer release before the end of service date. To migrate from RTC SDK 1.x to 2.x, consult our
5-
[migration guides](https://github.com/infobip/infobip-rtc-js/wiki/Migration-overview).
6-
The deprecated [SDK 1.x Github repository](https://github.com/infobip/infobip-rtc-js-1.x-deprecated) can still be
7-
consulted until the end of service date.
8-
91
### Introduction
102

113
Infobip RTC is a JavaScript SDK which enables you to take advantage of Infobip platform,
@@ -39,22 +31,10 @@ If you want to add it as an NPM dependency, run the following:
3931
npm install infobip-rtc --save
4032
```
4133

42-
After which you would use it in your project like this:
43-
44-
```javascript
45-
let InfobipRTC = require('infobip-rtc');
46-
```
47-
48-
or as ES6 import:
49-
50-
```javascript
51-
import {InfobipRTC} from "infobip-rtc";
52-
```
53-
54-
You can include our distribution file in your JavaScript from our CDN:
34+
Alternatively, you can include our distribution file directly in your JavaScript from our CDN:
5535

5636
```html
57-
<script src="//rtc.cdn.infobip.com/2.0.0/infobip.rtc.js"></script>
37+
<script src="//rtc.cdn.infobip.com/2.2.7/infobip.rtc.js"></script>
5838
```
5939

6040
The latest tag is also available:

0 commit comments

Comments
 (0)