EnableX Web SDK is for developing web browser based RTC Applications. The SDK has all the methods interfacing EnableX Signaling Server and Media Servers to communicate and listen to event based notifications during a session. It has a JavaScript Library to be added in the HTML page.

Released: June 30, 2021

Table of Contents

How to use Web SDK?

  • Download the SDK and extra the archive. You will get the following file in it, viz
    • EnxRtc.js – The standard library to communication with EnableX Signalling & Media Servers.
  • Now, you may use the EnxRtc.js file in your HTML file to make use of 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>

Error & Exceptions

Web SDK method call might face exception cases and fail. In such cases a JSON is returned through Callback. Example of JSON Object given below:

{
	"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