mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-25 06:59:57 -05:00
Add a property to restrict self-connections. This can be used to stop clients from connecting themselves automatically. Fixes #952
68 lines
2.1 KiB
Text
68 lines
2.1 KiB
Text
# JACK client config file for PipeWire version @VERSION@ #
|
|
|
|
context.properties = {
|
|
## Configure properties in the system.
|
|
#mem.warn-mlock = false
|
|
#mem.allow-mlock = true
|
|
#mem.mlock-all = false
|
|
log.level = 0
|
|
}
|
|
|
|
context.spa-libs = {
|
|
#<factory-name regex> = <library-name>
|
|
#
|
|
# Used to find spa factory names. It maps an spa factory name
|
|
# regular expression to a library name that should contain
|
|
# that factory.
|
|
#
|
|
support.* = support/libspa-support
|
|
}
|
|
|
|
context.modules = [
|
|
#{ name = <module-name>
|
|
# [ args = { <key> = <value> ... } ]
|
|
# [ flags = [ [ ifexists ] [ nofail ] ]
|
|
#}
|
|
#
|
|
# Loads a module with the given parameters.
|
|
# If ifexists is given, the module is ignored when it is not found.
|
|
# If nofail is given, module initialization failures are ignored.
|
|
#
|
|
#
|
|
# Uses RTKit to boost the data thread priority.
|
|
{ name = libpipewire-module-rtkit
|
|
args = {
|
|
#nice.level = -11
|
|
#rt.prio = 88
|
|
#rt.time.soft = 200000
|
|
#rt.time.hard = 200000
|
|
}
|
|
flags = [ ifexists nofail ]
|
|
}
|
|
|
|
# The native communication protocol.
|
|
{ name = libpipewire-module-protocol-native }
|
|
|
|
# Allows creating nodes that run in the context of the
|
|
# client. Is used by all clients that want to provide
|
|
# data to PipeWire.
|
|
{ name = libpipewire-module-client-node }
|
|
|
|
# Allows applications to create metadata objects. It creates
|
|
# a factory for Metadata objects.
|
|
{ name = libpipewire-module-metadata }
|
|
]
|
|
|
|
jack.properties = {
|
|
#node.latency = 1024/48000
|
|
#jack.merge-monitor = false
|
|
#jack.short-name = false
|
|
#jack.filter-name = false
|
|
#
|
|
# allow: Don't restrict self connect requests
|
|
# fail-external: Fail self connect requests to external ports only
|
|
# ignore-external: Ignore self connect requests to external ports only
|
|
# fail-all: Fail all self connect requests
|
|
# ignore-all: Ignore all self connect requests
|
|
#jack.self-connect-mode = allow
|
|
}
|