Set Up the Web Server (https)
- Make sure you have NodeJS(latest stable version will be good enough) installed in your environment. For the httpServer you can also use any other statically hosting solution.
- Copy the httpServer folder to the location you want to host.
- Copy the folders 'sdk' into httpServer folder.
- Gather a certificate, self signed is fine and place it into a folder called 'certs'. The final hierarchy should look like this:
|--- httpServer |--- httpServer.js |--- index.html |--- common |--- constant.js |--- sdk |--- HorizonSDKforWebRTCRedir.js |--- app |--- appMain.js |--- callMgr.js |--- ui.js |--- utils.js |--- certs |--- cert.pem |--- key.pem
- Enter the ./httpServer folder and run 'npm install' then 'npm start' (or node httpServer.js)