Platform

Platform

  • Getting Started
  • API

›WebRTC JS SDK

Getting Started

  • Create Your App

Quick Starts

  • 555 Samples

Mobile SDK (v1.0)

  • Overview
  • IOS SDK

    • Getting started
    • Installation Guide
    • How to do user authentication
    • How to subscribe for notifications
    • How to initiate or accept PSTN call
    • How to initiate or accept video call
    • How to set log level for SDK
    • Release Notes

    Android SDK

    • Getting started
    • Installation Guide
    • How to do user authentication
    • How to subscribe for notifications
    • How to initiate or accept PSTN call
    • How to initiate or accept video call
    • How to set log level for SDK
    • Release Notes

Mobile SDK (v2.0)

  • Overview
  • IOS SDK

    • Getting started
    • Installation Guide
    • How to do user authentication
    • How to subscribe for notifications
    • How to initiate or accept PSTN call
    • How to initiate or accept VIDEO call
    • How to initiate or join ANONYMOUS VIDEO call
    • Release Notes
    • Reference code - How to initiate or accept PSTN Call
    • Reference code - How to initiate or accept Video Call
    • Reference code - How to initiate or join Anonymous Video Call

    Android SDK

    • Getting started
    • Installation Guide
    • How to do user authentication
    • How to subscribe for notifications
    • How to initiate or accept PSTN call
    • How to intiate or accept Video Call
    • How to intiate or accept ANONYMOUS VIDEO Call
    • Release Notes
    • Reference code - How to initiate or accept PSTN Call
    • Reference code - How to initiate or accept Video Call
    • Reference code - How to initiate or join Anonymous Video Call

    React Native SDK

    • Getting started
    • Installation Guide
    • How to do user authentication
    • How to subscribe for notifications
    • How to initiate or accept PSTN call
    • Release Notes

WebRTC JS SDK

  • Overview
  • Getting Started
  • How to do user authentication
  • How to subscribe for notifications
  • How to initialize SDK
  • How to initiate or accept PSTN call
  • How to initiate or accept video call
  • How to create a screen share session
  • Release Notes

Getting Started

This document will guide us in setting up the 555 JS SDK and using it's different API features.

Get App Domain

Register on 555 Dev Portal as a developer and create a app domain and get app key and secret.

Get 555 Token

Check here for detailed guide how on to login and get the 555 JWT which is needed to access any 555 SDK or backend APIs.

Install JS SDK

Run below command to install JS SDK as a npm module

npm install iris-js-sdk

OR

Download latest JS SDK file from rtc-js-sdk-v3.5.23 and use it in your html file like below

<script src="iris-js-sdk.js"></script>

How to Access SDK APIs

If SDK is installed using npm module then do a require on iris-js-sdk module to load JS SDK's classes.

require('iris-js-sdk');

var Connection = new window.IrisRtcConnection();
var Stream = new window.IrisRtcStream();
var Session = new window.IrisRtcSession();
var Config = window.IrisRtcConfig;


If SDK is loaded via script tag in html file then JS SDK's classes can be accessesd from client js files as shown below

var Connection = new IrisRtcConnection();
var Session = new IrisRtcSession();
var Stream = new IrisRtcStream();
var Config = IrisRtcConfig;

How to make to calls

  • PSTN call
  • Video call

API Reference

For all APIs and Callbacks details please refere JSDocs below

  • JS SDK API Reference

Release Notes

  • 555 JS SDK Release Notes
← OverviewHow to do user authentication →
  • Get App Domain
  • Get 555 Token
  • Install JS SDK
  • How to Access SDK APIs
  • How to make to calls
  • API Reference
  • Release Notes
Docs
Getting StartedGuidesAPI Reference
More
BlogGitHub
555 Platform
Copyright © 2024 555 Platform ™
555docs-v0.0.94