I use my retina MacBook Pro to stream some videos from the web and play them, via AirPlay, on my Apple TV 3. Every now and then, when I switch to AirPlay, the video goes to the Apple TV, but the sound continues to come from the MacBook Pro. The only way to get it to work correctly is to restart the computer. I've tried the Sound preferences, but choosing the Apple TV there still doesn't send the sound to the device. Any thoughts on what may be happening?
This is a long-standing bug in the software with OS X Mountain Lion, that unfortunately Apple has not acknowledged or addressed. The simplest solution is to restart, but I don't like to restart my computer simply because AirPlay is broken.
Instead I do the following, which fixes the issue nearly 100% of the time, without a reboot:
- Turn off AirPlay Mirroring
- Open Terminal.
- Type in the following commands (pressing return after each):
sudo dscacheutil -flushcache
sudo killall -HUP mDNSResponder
You should see your AirPlay icon disappear and quickly reappear in your menu bar during this process. After that, fingers crossed, all should work again. I stole this fix from the Apple Support Forums and it has worked well for me.
This problem happens so often it's worth creating a command - assuming ~/bin is in your $PATH ...
echo "sudo dscacheutil -flushcache" >~/bin/retina echo "sudo killall -HUP mDNSResponder" >>~/bin/retina chmod u+x ~/bin/retina
You must log in to answer this question.
protected by Community♦ Nov 16 '13 at 3:28
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?