====== wsServer ====== wrtc.wsServer is a string property containing the address of the IXNX server. In order for the socket objects to be able to connect to the IXNX server they must be able to found it. You **must** set wrtc.wsServer in your wrtc.init() function or **wrtc_kit will not work!** ===== Value ===== String containing address (DNS or IP) of IXNX server. ===== Default value ===== window.location.host (same address as webpage was fetched from) ===== Usage ===== You set wrtc.wsServer once in your [[ixnx:wrtc:js:api:wrtc:init|wrtc.init()]] function and do not change it after. ===== Example ===== wrtc.wsServer = "50.11.69.17"; (example) sets it to global IP address of your IXNX server. wrtc.wsServer = "myserv.com"; (example) sets it to DNS resolved address of your IXNX server. wrtc.wsServer = window.location.host; sets it to same address as webpage has been fetched from (if webpage is hosted by IXNX server's App webserver).