The EnableX Web SDK is used to integrate EnableX RTC sessions with your Web Applications. The SDK consists of a JavaScript Library with APIs required to communicate with EnableX Signaling Server and Media Server and to listen to event-based notifications during a session. The library needs to be added in the HTML page.

Released: June 30, 2021

Table of Contents

How to use Web SDK?

  • Download the SDK and extract the archive to get the following file:
    • EnxRtc.js – The standard library to communicate with EnableX Signalling & Media Servers.
  • Use the EnxRtc.js file in your HTML file to utilize the SDK to build EnableX powered Client End Point Application. Refer the following Code snippet:
<html>
<head>
<script language="javascript" src="path/EnxRtc.js"></script>
</head>
<body></body>
</html>

Errors & Exceptions

When EnableX Web SDK API call fails, it returns a JSON object through Callback as shown:

{
	"result": Number,
	"error": "String",
	"desc": "String"
}
  • result – Number. Error Code.
  • error – String. Error Message.
  • desc – String. Optional. Descriptive explanation of the error.

Explore Web SDK