Server settings management¶
Show current server settings¶
To show current settings the server uses now, enter the command:
Show a specific option in the server settings¶
To show a certain parameter in the current server settings, enter the command
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
where
option name
is the name of the option from the flashphoner.properties settings filenew 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
Export settings¶
To export all settings to a CSV file, use the command
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:
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