Table of Contents |
---|
Show current server settings
To show current settings the server uses now, enter the command:
Code Block | ||||
---|---|---|---|---|
| ||||
show node-settings |
Show a specific option in the server settings
To show a given parameter in the current server settings, enter the command
Code Block | ||||
---|---|---|---|---|
| ||||
show node-setting <option name> |
when option name is the name of the option in accordance with 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
Code Block | ||||
---|---|---|---|---|
| ||||
update node-setting --value <new value> <option name> |
where
option name is the name of the option in accordance with 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
Code Block | ||||
---|---|---|---|---|
| ||||
save node-settings |
Export settings
To export all settings to a CSV file, use the command
Code Block | ||||
---|---|---|---|---|
| ||||
show node-settings -c <file name> |
where file name if the path and CSV file name where the current option values will be written to, for example, /home/user/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 dquare 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 settings file are set to their default values
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
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
...
language | bash |
---|---|
theme | RDark |
...
Include Page | ||||
---|---|---|---|---|
|