I have PulseAudio streaming over my local Ethernet LAN. I play sound from my client (a laptop) to a PulseAudio "server" which is connected to speakers. Both run PulseAudio verion 12.2.
When I switch the client from a wired connection to WiFi on my LAN, the remote sink disappears from the drop down list of sinks available. I do not find any error messages, but I can no longer play sound over the network. Local playback still works on the client.
My PulseAudio client and server both run Arch Linux.
Here are my settings:
client and server both
Installed this package and enabled avahi-daemon:
pacman -S pulseaudio-zeroconf systemctl enable avahi-daemon.service systemctl start avahi-daemon.service server settings
/etc/pulse/default.pa and add these lines:
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/24 load-module module-zeroconf-publish client settings
/etc/pulse/default.pa and add these lines:
load-module module-native-protocol-tcp load-module module-zeroconf-discover I copied ~/.config/pulse/cookie to all devices
It does not seem to be an authorization issue because if I open paprefs in a terminal and check allow anonymous clients, it does not resolve the issue.
The client IP address when connected via wired cable is 192.168.0.5. On WiFi it is 192.168.0.6.
It works exactly as expected when the client is connected via wired cable, but it does not work when the client on WiFi. The server (the computer connected directly to the speakers) is always wired.
I do not know where to look next for information about resolving this.