Pipewire - Send Audio Over the Network
Super simplified article on how to receive microphone audio over the network.
Receiver Host
Creating the audio server.
Not sure if the zeroconf
makes a difference when the clients are from different networks.
Sender Host
Connect to the remote server.
With the sink created we need to connect the capture devices. Since I am doing the connection over the network. Let's use the pipewire CLI tool set. If you have graphical access to the receiver it is possible to use qpwgraph to easily connect the sink.
pw-link -iI
pw-link -oI
Connecting the microphone to the remote output.
pw-link 55 58
pw-link 54 57
The audio should be flowing to the remote PulseAudio Server.
Removing the Connection
To remove the sink from the client side.
pactl unload-module module-tunnel-sink
To kill the server.
pactl unload-module module-native-protocol-tcp
pactl unload-module module-zeroconf-publish
Resources
https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Config-PulseAudio#network-support