-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to set bind address for websocket
- Loading branch information
Showing
5 changed files
with
84 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -230,7 +230,7 @@ This starts the processing defined in the specified config file. The config is f | |
Starting with the --help flag prints a short help message: | ||
``` | ||
> camilladsp --help | ||
CamillaDSP 0.1.0 | ||
CamillaDSP 0.3.2 | ||
Henrik Enquist <[email protected]> | ||
A flexible tool for processing audio | ||
|
@@ -247,7 +247,8 @@ FLAGS: | |
-w, --wait Wait for config from websocket | ||
OPTIONS: | ||
-p, --port <port> Port for websocket server | ||
-a, --address <address> IP address to bind websocket server to | ||
-p, --port <port> Port for websocket server | ||
ARGS: | ||
<configfile> The configuration file to use | ||
|
@@ -256,6 +257,8 @@ If the "check" flag is given, the program will exit after checking the configura | |
|
||
To enable the websocket server, provide a port number with the `-p` option. Leave it out, or give 0 to disable. | ||
|
||
By default the websocket server binds to the address 127.0.0.1 which means it's only accessible locally. If it should be also available to remote machines, give the IP address of the interface where it should be available with the `-a` option. Giving 0.0.0.0 will bind to all interfaces. | ||
|
||
If the "wait" flag, `-w` is given, CamillaDSP will start the websocket server and wait for a configuration to be uploaded. Then the config file argument must be left out. | ||
|
||
The default logging setting prints messages of levels "error", "warn" and "info". By passing the verbosity flag once, `-v` it also prints "debug". If and if's given twice, `-vv`, it also prints "trace" messages. | ||
|
@@ -267,8 +270,6 @@ The configuration can be reloaded without restarting by sending a SIGHUP to the | |
## Controlling via websocket | ||
See the [separate readme for the websocket server](./websocket.md) | ||
|
||
If the websocket server is enabled with the -p option, CamillaDSP will listen to incoming websocket connections on the specified port. | ||
|
||
|
||
# Capturing audio | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters