- Download the SDK and extract the archive to get the following file:
EnxRtc.js
– The standard library to communicate with The Portal Signalling & Media Servers.
- Use the EnxRtc.js file in your HTML file to utilize the SDK to build the 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 the 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.