AirPlay discovery on Fedora
Problem
Other laptops, Macs, iPads, or Apple TVs on the same local Wi-Fi network appear as available audio output devices or trigger pop-ups (e.g., in Discord or system settings) asking to switch audio streams.
Cause
Fedora uses PipeWire as its primary audio server. By default, it includes automatic network discovery for AirPlay / RAOP (Remote Audio Output Protocol) devices. If a neighbor or classmate has network sharing or AirPlay enabled, PipeWire will automatically detect and list it.
Solutions
Method 1: Remove the Discovery Package
If you never intend to stream your laptop's audio to an AirPlay receiver, Apple TV, or another computer over Wi-Fi, the cleanest solution is to uninstall the configuration package responsible for it.
Note: This will not affect local Bluetooth earbuds, speakers, or physical audio devices.
sudo dnf remove pipewire-config-raop
Method 2: Disable Discovery via Config File
mkdir -p ~/.config/pipewire/pipewire.conf.d/
nano ~/.config/pipewire/pipewire.conf.d/disable-raop.conf
context.properties = {
module.raop = false
}
systemctl --user restart pipewire wireplumber