Configure the Client and Run the App
Configure electron client and run¶
- Make sure you have NodeJS(latest stable version will be good enough) installed in your environment.
- Copy client folder to wherever you want
- Set the link url for index page in ‘client/serverInfo.json’. depends on how you configure your web server in steps above. Example: "pageUlr": "https://192.168.1.101/sample/index.html"
- Set the Web Socket server ulr for ‘callServerUrl’ in ‘client/ serverInfo.json’, depends on how you configure your web socket server in steps above. Example: "callServerUrl": “wss://192.168.1.200:8443”
- The final hierarchy should look like this
|--- client |--- main.js |--- preload.js |--- package.json |--- serverInfo.json
- Enter ./client folder, execute: 'npm install' and then 'npm start'
Configure web client and run¶
- Launch chrome browser and natigate to the url
- Add the Horizon WebRTC SDK browser extension to your chrome browser.
- Note the IP address of your httpServer and the signaling server that will be used in step 4
- Configure the following registry keys.
[HKLM\SOFTWARE\Policies\Omnissa\Horizon\WebRTCRedirSDKWebApp] "enabled"=dword:00000001<br> "chrome_enabled"=dword:00000001<br> "edge_chrome_enabled"=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Omnissa\Horizon\WebRTCRedirSDKWebApp\UrlAllowList] "https://httpServerIpAddress:3000/*"=""
- Close and reopen the VM then navigate to https://httpServerIpAddress:3000/webIndex.html?callServerUrl=wss://signalingServerIpAddress:8443