Skip to end of metadata
Go to start of metadata

Sonus WebRTC SDK is a development toolkit provided by Sonus for application developers to enable their existing or new web communication applicationsSonus WebRTC SDK is a light weight SDK which runs in a web browser and acts as an interface between WebRTC API and the Sonus JavaScript Control Protocol (SJCP) to exchange messages between web browsers.

The following figure depicts the Sonus WebRTC SDK architecture:

Figure : Sonus WebRTC SDK Architecture

WRTC SDK

When a user invokes a web application which uses Sonus WebRTC APIs, the APIs get response from respective callback functions from WRTC server through WRTC SDK module. The WRTC SDK contains the wrtcsdk.min.js file which must be included in the HTML file when developing a custom web application. The wrtcsdk.min.js contains the following JavaScript files:

  • wrtc.js
  • wrtcstack.js
  • wrtcwrapper.js
  • wrtcadapter.js
  • spine.js
  • underscore.js
  • aes.js

Web developers can use Sonus WebRTC SDK to create applications using its simple JavaScript APIs. The Sonus WebRTC SDK also handles SJCP and offers an object oriented API to invoke and manage applications. Even web developers without any knowledge on SJCP can create applications using simple JavaScript APIs. Refer Sample Web Client Applications for more information.

Some of the Sonus WebRTC SDK features are:

  • Hides the complex session management and SJCP protocol information and notifies application developers about the relevant events.
  • Establishes and documents the methods, parameters, events, object models and APIs exposed to web developers.
  • Hides the browser WebRTC API differences from web application developers.
  • Enables application developers to leverage the Sonus WebRTC functionality like voice, video or IM sessions, group chat, peer-to-peer conferencing and so on.
  • Provides APIs for user authentication using OAuth over HTTP. However, application developers can choose any other authentication methods or no authentication. When no authentication is selected Sonus WebRTC SDK does not mandate the use of its authentication module.

Following are some of the functionalities which application developers can implement using the Sonus WebRTC SDK to create or customize WRTC:

  • Browser-to-browser using SJCP
  • Browser-to-SIP multimedia calls using SJCP and SIP
  • Peer-to-peer audio and video call conferencing and group chat
  • Instant messaging, presence, and buddy list
  • Hold and resume, mute and unmute of audio and video calls
  • Switch between audio calls to video calls and vice versa
  • Full screen video calls, desktop sharing
  • Dual Tone Multi Frequency (DTMF) signaling
  • Wrappers for WebRTC native APIs

Refer Sample Unified Communication Applications for more information.

  • No labels