Home Manual Reference Source Repository
Manual » Configuration

Configuration

You can rewrite each of the following settings.

When using netflux.create(settings) function, the default settings are:

{
  connector: WEB_RTC,
  topology: FULLY_CONNECTED,
  signalingURL: 'wss://sigver-coastteam.rhcloud.com:8443'
  iceServers: [
    {urls:'stun:turn01.uswest.xirsys.com'}
  ]
}

For new BotServer(settings) the default settings are:

{
  connector: WEB_SOCKET,
  topology: FULLY_CONNECTED,
  signalingURL: 'wss://sigver-coastteam.rhcloud.com:8443'
  iceServers: [
    {urls:'stun:turn01.uswest.xirsys.com'}
  ],
  host: 'localhost',
  port: 9000
}

Documentation for the settings may be found here.