Configuration
Server
Server can be configured with the following parameters using command-line arguments or environment variables.
Port
The network port Server binds to for the API and UI.
| Command-Line Argument | Environment Variable | Default Value | Possible Values |
|---|---|---|---|
--port | SW_SERVER_PORT | 9091 | Any valid port number |
Media Storage Root
The root folder on-disk under which recordings are stored.
| Command-Line Argument | Environment Variable | Default Value | Possible Values |
|---|---|---|---|
--default-media-storage-root | SW_SERVER_DEFAULT_MEDIA_STORAGE_ROOT | %APPDATA%\Second Wave Holdings Pty Ltd\Server\media | Any valid path |
Log Level
The level of detail in the log output.
| Command-Line Argument | Environment Variable | Default Value | Possible Values |
|---|---|---|---|
--log-level | SW_SERVER_LOG_LEVEL | info | error, warn, info, debug, trace |
Streamer
Streamer can be configured with the following parameters using command-line arguments or environment variables.
Server URL
The network address for Server.
| Command-Line Argument | Environment Variable | Default Value | Possible Values |
|---|---|---|---|
--server-url | SW_STREAMER_SERVER_URL | http://localhost:9091 | Any valid URL |
Application Identifier
A unique identifier used to manage this Streamer in Server.
danger
The Application Identifier should remain consistent. Changing it will cause Server to register a new Streamer.
| Command-Line Argument | Environment Variable | Default Value | Possible Values |
|---|---|---|---|
--application-id | SW_STREAMER_APPLICATION_ID | hostname | Any combination of letters and numbers |
Display Name
The name shown in the Server UI for this Streamer.
| Command-Line Argument | Environment Variable | Default Value | Possible Values |
|---|---|---|---|
--display-name | SW_STREAMER_DISPLAY_NAME | hostname | Any combination of letters and numbers |
Log Level
The level of detail in the log output.
| Command-Line Argument | Environment Variable | Default Value | Possible Values |
|---|---|---|---|
--log-level | SW_STREAMER_LOG_LEVEL | info | error, warn, info, debug, trace |