pulse-server: support server config

Extend the server.address property so that you can also specify
an object per server. Add support for configuring some aspects of the
server such as max-clients and backlog.

Most importantly, the pipewire client.access can be configured per
server.

See #1960
This commit is contained in:
Wim Taymans 2022-01-04 14:26:08 +01:00
parent 611591d0fc
commit 22625fb658
3 changed files with 104 additions and 73 deletions

View file

@ -45,6 +45,10 @@ struct server {
struct spa_source *source;
struct spa_list clients;
uint32_t max_clients;
uint32_t listen_backlog;
char client_access[64];
uint32_t n_clients;
uint32_t wait_clients;
unsigned int activated:1;