Skip to content

Getting SDK

Adnan Arnautović edited this page Jan 26, 2023 · 1 revision

There are few ways in which you can get our SDK. We publish it as an NPM package and as a standalone JS file hosted on a CDN.

If you want to add it as an NPM dependency, run the following:

npm install infobip-rtc --save

After which you would use it in your project like this:

let InfobipRTC = require('infobip-rtc');

or as ES6 import:

import {InfobipRTC} from "infobip-rtc";

You can include our distribution file in your JavaScript from our CDN:

<script src="//rtc.cdn.infobip.com/1.14.9/infobip.rtc.js"></script>

The latest tag is also available:

<script src="//rtc.cdn.infobip.com/latest/infobip.rtc.js"></script>
Clone this wiki locally