Active3 years, 7 months ago
Airplay

This question already has an answer here:

AirPlay lets Apple users stream audio and video, plus mirror their device’s screen, on another device. The technology is built into the iPhone, iPad, MacBook, and Apple TV. It’s the easiest way to cast audio or video from your iPhone to Apple TV (or the Apple HomePod if you’ve got one). LonelyScreen is a AirPlay receiver for Windows and MAC. It is like an Apple TV running on your desktop. You can cast anying from your iPhone or iPad to your computer screen just like a Apple TV.

  • Disable AirPlay on a Mac 3 answers

I'd like to cut out AirPlay entirely.

Looking for an answer, I readDisable AirPlay on a Mac

But it didn't really offer a direct solution.

Here is my problem:

I have the household media room connected to an Airplay capable receiver. Our media server is a secondary Mac that runs 24/7 for the express purpose of serving media throughout the house. This is a headless machine that does not ever output any audio of its own, and in fact could have all audio drivers disabled and it would be perfectly fine with me.

What happens is, this machine appears to spontaneously decide that it wants to connect to the Airplay receiver, which causes my Media room to suddenly switch input sources and is seriously irritating and confusing to other members of the household.

If I could simply disable Airplay completely on this machine, then all would be well. But I don't want to impact any other internet connectivity as I have multiple apps that need to communicate at all times in both directions to the outside internet.

Is there in fact a direct way to simply disable Airplay entirely in Mac OS X?

Community
Jonathan van CluteJonathan van Clute
1,3248 gold badges33 silver badges64 bronze badges

marked as duplicate by bmikeSep 22 '15 at 14:23

Server

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

5 Answers

I have just found some help here: Disable AirPlay Mirroring. It will let you disable Airplay Mirroring (I assume that includes just the sound) by using a terminal command. It will deny the computer access to the AirPlay.app that allows Airplay mirroring.

sudo chmod 000 /System/Library/CoreServices/AirPlayUIAgent.app/Contents/MacOS/AirPlayUIAgent

Some problems are associated with this though. I've copied the article's 'drawbacks' below.

The only drawback to this method is that it locks up the menubar, which means your users won't be able to use any of the menu bar items. They're still able to adjust the volume using the keyboard, though. Logging out and back in will restore the functionality of the menubar until the user tries to use AirPlay mirroring again. I guess if your users complain about the menubar crashing, you know what they've been trying to do! To remove your users temptation of crashing the menu bar all the time, you can hide the AirPlay icon by opening System Preferences > Displays and unchecking the 'Show mirroring options in the menu bar when available' checkbox.

if you don't enjoy it afterwards and you want to fix it back to defaults without reinstalling OS X you want to do the same steps above like you did when disabling AirPlay. But instead of the 000 after sumo chmod you want to use the numbers 755

Turn On Airplay Mac

You would follow the steps, restart your iMac like before and you should have re-enabled it back

Best Airplay Server For Mac
Community
fsimkovicfsimkovic

Have you tried installing Soundflower, the audio routing driver from the Max SP people? It's free.

Set Output to Soundflower in System Preferences. In your case you will also want to set Sound Effects to the same thing.

That will basically capture all the audio on the system and consign it to the bit bucket.

Tony WilliamsTony Williams
9,3921 gold badge14 silver badges45 bronze badges

I saw Hotdog Man's answer and from the Settings I muted the Sound Output for the Apple TV device, and switched to a different sound output.

I was then able to turn Airplay off from the Display settings, and no longer received those annoying prompts.

Before I switched the Sound Output setting, I was unable to turn it off from the Display settings.

danfordhamdanfordham

Maybe I'm not understanding the question, but all of my Macs have a menu item that says 'Turn Off AirPlay Mirroring'. It is accessible directly from the AirPlay menu icon, as well as from the Displays preference pane under Settings.

DaveDave
7,4352 gold badges19 silver badges57 bronze badges

Go to System Preferences ->Sound ->Output. There it will say choose a device for sound output,with a table listing the Mac's speakers or Apple TV, and if you have headphones then also those.

Jens Erat

Airplay For Mac Download

1,5786 gold badges18 silver badges29 bronze badges
Hotdog ManHotdog Man

Airplay Server For Mac

Not the answer you're looking for? Browse other questions tagged macosairplay .