Shows how to use the SDK provided as a released zip or cdn.
- Download the SDK from here.
- Drop the ucsdk.js file into "./example_one".
- Open "./example_one/index.html" in the browser.
- ucsdk.js: this is the sdk.
- main.js: main file to look at, this contains event listeners and connection method.
- init.js: file containing the call controller methods.
Any files not mentioned just contain methods to manipulate the dom.
First move into the relevant folder to run this example.
cd ./example_two
All dependencies must be installed before starting application, command show below, this will install the UCClient-SDK.
npm install
Start the application on a local server with the command below.
npm start
Application will be started on localhost:8080 you can visit this in your browser.