-
Notifications
You must be signed in to change notification settings - Fork 6
Audio and Video Calls Javascript App
The Audio and Video Calls Showcase App demonstrates the use of the Infobip RTC Javascript SDK. It highlights features like:
- making WebRTC calls (used to connect two WebRTC endpoints),
- making phone calls (used to call a phone number and connect it to a WebRTC endpoint),
- making room calls (used to join several endpoints to a single room),
- utilizing the camera video and screen sharing capabilities,
- managing the audio quality and the input audio device,
- reconnecting when in a room call and the connection is interrupted, and more.
For developers seeking seamless integration, code samples are readily available in Angular, jQuery, and React.
The prerequisite to running any Showcase Apps is running the Token App, available in both Node.js and Java.
Token App - Node.js: Guidance
Create config.json file in the ./token/node project directory, and fill it with data:
{
"HTTP_PORT": 8080,
"INFOBIP_API_HOST": "api.infobip.com",
"INFOBIP_RTC_TOKEN_PATH": "/webrtc/1/token",
"INFOBIP_API_KEY": "YOUR_API_KEY"
}
Then in the ./token/node project directory:
- install needed dependencies by running:
npm install- start the application by running:
npm startToken App - Java: Guidance
Export the INFOBIP_API_KEY environment variable and set it to your Infobip API key.
In the ./token/java project directory, start the application by running:
mvn spring-boot:runEnsure that Node.js is installed on your computer.
In the corresponding project directory:
- install needed dependencies by running:
npm install- start the application by running:
npm startOnce the application is successfully running, access it by opening a localhost URL in your web browser. This URL will show the application's user interface and functionality.
| jQuery | React | Angular |
|---|---|---|
| http://localhost:8010 | http://localhost:8020 | http://localhost:8030 |