libpipewire-module-netjack2-driver - Man Page

Netjack2 driver

Description

The netjack2-driver module provides a source or sink that is following a netjack2 manager. It is meant to be used over stable (ethernet) network connections with minimal latency and jitter.

The driver normally decides how many ports it will send and receive from the manager. By default however, these values are set to -1 so that the manager decides on the number of ports.

With the global or per stream audio.port and midi.ports properties this behaviour can be adjusted.

The driver will send out UDP messages on a (typically) multicast address to inform the manager of the available driver. This will then instruct the manager to configure and start the driver.

On the driver side, a sink and/or source with the specified numner of audio and midi ports will be created. On the manager side there will be a corresponding source and/or sink created respectively.

The driver will be scheduled with exactly the same period as the manager but with a configurable number of periods of delay (see netjack2.latency, default 2).

Module Name

libpipewire-module-netjack2-driver

Module Options

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 = {
        #netjack2.client-name = PipeWire
        #netjack2.latency     = 2
        #midi.ports           = 0
        #audio.ports          = -1
        #audio.channels       = 2
        #audio.position       = [ FL FR ]
        source.props = {
            # extra source properties
        }
        sink.props = {
            # extra sink properties
        }
    }
}
]

Referenced By

libpipewire-modules(7).

1.4.5 PipeWire