module-protocol-native: add module argument 'sockets'

Add module argument 'sockets' for creating multiple sockets clients can
connect to.

Also allow setting socket file permissions.
This commit is contained in:
Pauli Virtanen 2023-10-07 12:21:20 +03:00
parent 7a0b400c18
commit 72462ebd07
5 changed files with 229 additions and 11 deletions

View file

@ -102,7 +102,12 @@ context.modules = [
}
# The native communication protocol.
{ name = libpipewire-module-protocol-native }
{ name = libpipewire-module-protocol-native
args = {
# List of server Unix sockets, and optionally permissions
#sockets = [ { name = "pipewire-0" }, { name = "pipewire-manager-0" } ]
}
}
# The profile module. Allows application to access profiler
# and performance data. It provides an interface that is used