PipeWire 1.2.5
Loading...
Searching...
No Matches
Pulse Tunnel

The pulse-tunnel module provides a source or sink that tunnels all audio to a remote PulseAudio connection.

It is usually used with the PulseAudio or module-protocol-pulse on the remote end to accept the connection.

This module is usually used together with module-zeroconf-discover that will automatically load the tunnel with the right parameters based on zeroconf information.

Module Name

libpipewire-module-pulse-tunnel

Module Options

  • tunnel.mode: the desired tunnel to create, must be source or sink. (Default sink)
  • pulse.server.address: the address of the PulseAudio server to tunnel to.
  • pulse.latency: the latency to end-to-end latency in milliseconds to maintain (Default 200).
  • reconnect.interval.ms: when the remote connection is broken, retry to connect with this interval in millisconds. A value of 0 disables recovery and will result in a module unload. (Default 0) (Since 1.1.0)
  • stream.props: Extra properties for the local stream.

General options

Options with well-known behavior.

Example configuration of a virtual sink

context.modules = [
{ name = libpipewire-module-pulse-tunnel
args = {
tunnel.mode = sink
# Set the remote address to tunnel to
pulse.server.address = "tcp:192.168.1.126"
#pulse.latency = 200
#reconnect.interval.ms = 0
#audio.rate=<sample rate>
#audio.channels=<number of channels>
#audio.position=<channel map>
#target.object=<remote target name>
stream.props = {
# extra sink properties
}
}
}
]