Skip to main content

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

If you prefer not to uninstall system packages, you can explicitly tell PipeWire to skip loading the RAOP module via a user-level configuration override.

Create the configuration directory:

mkdir -p ~/.config/pipewire/pipewire.conf.d/

Create and open the override file:

nano ~/.config/pipewire/pipewire.conf.d/disable-raop.conf

Paste the following block:

context.properties = {
    module.raop = false
}

Apply changes:

systemctl --user restart pipewire wireplumber