The netjack2-driver module provides a source or sink that is following a netjack2 manager.
Module Name
libpipewire-module-netjack2-driver
Module Options
- driver.mode: the driver mode, sink|source|duplex, default duplex
- local.ifname = <str>: interface name to use
- net.ip =<str>: multicast IP address, default "225.3.19.154"
- net.port =<int>: control port, default "19000"
- net.mtu = <int>: MTU to use, default 1500
- net.ttl = <int>: TTL to use, default 1
- net.loop = <bool>: loopback multicast, default false
- netjack2.client-name: the name of the NETJACK2 client.
- netjack2.save: if jack port connections should be save automatically. Can also be placed per stream.
- netjack2.latency: the latency in cycles, default 2
- audio.channels: the number of audio ports. Can also be added to the stream props.
- midi.ports: the number of midi ports. Can also be added to the stream props.
- source.props: Extra properties for the source filter.
- sink.props: Extra properties for the sink filter.
General options
Options with well-known behavior.
Example configuration of a duplex sink/source
# ~/.config/pipewire/pipewire.conf.d/my-netjack2-driver.conf
context.modules = [
{ name = libpipewire-module-netjack2-driver
args = {
#driver.mode = duplex
#netjack2.client-name = PipeWire
#netjack2.save = false
#netjack2.latency = 2
#midi.ports = 0
#audio.channels = 2
#audio.position = [ FL FR ]
source.props = {
# extra sink properties
}
sink.props = {
# extra sink properties
}
}
}
]