pulse-server: improve server registration

Take a list of addresses to listen on.
This commit is contained in:
Wim Taymans 2020-10-09 13:26:14 +02:00
parent 5b8a52cc78
commit 8b70a83c96
2 changed files with 44 additions and 80 deletions

View file

@ -35,8 +35,9 @@ extern "C" {
#define PW_PROTOCOL_PULSE_DEFAULT_PORT 4713
#define PW_PROTOCOL_PULSE_DEFAULT_SOCKET "native"
#define PW_PROTOCOL_PULSE_USAGE "[ tcp.listen=[ip:]<port>[,...] ] " \
"[ unix.socket=<path>[,...] ] " \
#define PW_PROTOCOL_PULSE_DEFAULT_SERVER "unix:native"
#define PW_PROTOCOL_PULSE_USAGE "[ server.address=(tcp:[<ip>:]<port>|unix:<path>)[,...] ] " \
struct pw_protocol_pulse;
struct pw_protocol_pulse_server;