Skip to content

Server settings management

Show current server settings

To show current settings the server uses now, enter the command:

show node-settings

Show a specific option in the server settings

To show a certain parameter in the current server settings, enter the command

show node-setting <option name>

where option name is the name of the option from the flashphoner.properties settings file.

Change a specific option in the server settings

To change the value of a specific option in the current server settings, use the command

update node-setting --value <new value> <option name>

where

  • option name is the name of the option from the flashphoner.properties settings file
  • new value is a new value for the option

Save settings to the config file

To save server settings to the flashphoner.properties file, enter the command

save node-settings

Export settings

To export all settings to a CSV file, use the command

show node-settings -c <file name>

where file name is the path and CSV file name where the current option values will be written to, for example, /tmp/settings.csv

The file is structured as follows:

Option name, Value, Type, Default value, Requires restart, New value, Alias, Description, Tags

Special conventions:

  • string parameters are enclosed to quotes, for instance, "Enable keep-alive for the listed protocols"
  • lists are enclosed to square brackets, for instance, ["websocket", "rtmp", "rtmfp"]
  • all options supported by the current version of WCS will be written to the file; options not specified in the flashphoner.properties file are set to their default values

Example:

keep_alive.peer_interval, 2000, Integer, 2000, true, null, [keep_alive.peer_interval], "Keep-alive peer interval (Not in use)", ["deprecated"]

Reloading of settings

To reload server settings from the flashphoner.properties file, enter the following command

reload node-settings