AirPlay Mirroring
I am unable to stream sound in airplay mirroring. I have tried to change my sound system preferences but that doesn't work.
OS X Mountain Lion, AirPlay
I am unable to stream sound in airplay mirroring. I have tried to change my sound system preferences but that doesn't work.
OS X Mountain Lion, AirPlay
It's just a player program. For quite a few of us, it seems like exiting airplay, killing coreaudio then restarting airplay works. Also some people have a problem using specific programs I think, like vlc, which have additional options on audio output. My issue was just playing web video from safari, but if you are using a specific media program you should check if it has specific audio output options too. If it's not something generic like safari, it may help to see if you have the same problem with safari and itunes, or if it's a specific program not airplaying audio.
netsoup wrote:
It's just a player program. For quite a few of us, it seems like exiting airplay, killing coreaudio then restarting airplay works. Also some people have a problem using specific programs I think, like vlc, which have additional options on audio output. My issue was just playing web video from safari, but if you are using a specific media program you should check if it has specific audio output options too. If it's not something generic like safari, it may help to see if you have the same problem with safari and itunes, or if it's a specific program not airplaying audio.
As I said, I am just using airplay mirroring. I don't use other players than what Apple ships, those work find for my needs. A complete reboot did fix it for now. So, there is some disconnect in the audio stack.
You are not using "just airplay mirroring". Even if you are using "just what apple ships" you are at least using Safari or iTunes or something to play sound in order to have a sound issue.
Glad rebooting helps. If killing coreaudod does not help, you may want to double check playing from different things, such as iTunes or Safari, Quicktime to see if it is an issue just from a specific source. Sorry if this comes of terse, but for people to help you have to stop and think how what they're saying may relate. Nobody plays music "just from airplay mirroring", it is just like any computer audio source, sounds are playing sound from something. Whatever that is, it may have other audio options. If airplay sound does not work from various apps, like itunes, safari, quicktime, then that is another issue entirely than if it does not stream from just a specific source. If you let people know "it works from safari web videos but not itunes", or "just dvd player doesn't stream sound", "both sarari and itunes won't stream audio" etc. it may help people follow those trouble shooting steps for you easier.
Are you absolutely sure you are restarting coreaudiod?
Does it give you an error after you enter your password, or does it return you to the prompt.
Opening terminal, typing sudo killall coreaudiod and then typing my password has reset the audio stack for me just as good and way more convenient than rebooting, each time so far.
I exit airplay and safari, itunes, or whatever it is I am trying to play from, kill coreaudiod, then I can start whatever it is I was doing and restart airplay and it works fine. The only reason I am double checking you really are killing coreaudiod is I had the exact same symptoms, I couldn't select airplay as an audio source and when I did manage to it would kick me off airplay.
netsoup wrote:
Are you absolutely sure you are restarting coreaudiod?
Does it give you an error after you enter your password, or does it return you to the prompt.
Opening terminal, typing sudo killall coreaudiod and then typing my password has reset the audio stack for me just as good and way more convenient than rebooting, each time so far.
I exit airplay and safari, itunes, or whatever it is I am trying to play from, kill coreaudiod, then I can start whatever it is I was doing and restart airplay and it works fine. The only reason I am double checking you really are killing coreaudiod is I had the exact same symptoms, I couldn't select airplay as an audio source and when I did manage to it would kick me off airplay.
I've checked with ps(1) and see a new PID on the coreaudiod process, so I know it is restarting.
netsoup wrote:
You are not using "just airplay mirroring". Even if you are using "just what apple ships" you are at least using Safari or iTunes or something to play sound in order to have a sound issue.
Well, yes, I am using Quicktime to play a movie that is an unprotected imovie creation. I understand that there is some interaction from the App, into the audio subsystem, but when I am clicking on preferences Audio->Output settings, I am just trying to tell the audio subsystem where to send the audio. When I click on "Apple TV" and the selection changes momentarily and then switches back to the internal speaker selection, that seems like just a core audio issue to me. I don't know how the software wires the source other than the fact that the APIs in OS-X point at this being a pretty simple queuing mechanism.
Glad rebooting helps. If killing coreaudod does not help, you may want to double check playing from different things, such as iTunes or Safari, Quicktime to see if it is an issue just from a specific source. Sorry if this comes of terse, but for people to help you have to stop and think how what they're saying may relate. Nobody plays music "just from airplay mirroring", it is just like any computer audio source, sounds are playing sound from something. Whatever that is, it may have other audio options. If airplay sound does not work from various apps, like itunes, safari, quicktime, then that is another issue entirely than if it does not stream from just a specific source. If you let people know "it works from safari web videos but not itunes", or "just dvd player doesn't stream sound", "both sarari and itunes won't stream audio" etc. it may help people follow those trouble shooting steps for you easier.
I can't change the audio routing in preferences. Even with on apps running (CMD-Q'd them all, and ps(1) does not show any running), I can't switch the destination. To me, that's a software "state" bug. Somebody is holding onto state and assuming that it's still relevant, instead of looking at what is actually "configured" and acting on it.
Of couurse it's a bug, but I think you were getting caught on too many details without giving people enough to help. I don't think a complete reboot is necessary. If you quit what you are doing, exit airplay, kill coreaudiod then go back into airplay it should work fine. I think your necessity to reboot is in the sequence of what you are doing, and rebooting just happens to do it all in the right order, kill coreaudiod and restart quicktime and airplay, or whatever you happen to be playing. If rebooting is the only thing you can do I do apologize, but it seems weird yours is the only one that killing coreaudio doesn't help and I think you may be getting on stuck on the details of an audio subsystem when it does not matter. People just wanted to know what application you were using and if you checked those settings. We all know it uses the audio subsystem and there is a bug in airplay. If you are exiting airplay, killing coreaudiod and then restarting airplay and rebooting your computer still is the only thing that helps you have a different issue I have not seen I guess.
I realize to you it doesn't matter what app is trying to use audo. That's all people were asking, does it happen with all apps or a certain one. question answered. Are you exiting airplay before killing coreaudiod? There may be a different sequence of events you can do, but if you've already tried what was suggested in sequence suggested, and it doesn't help, I have no idea what the problem is since it may be a different issue than mine or the others here...
Good luck
Thanks killing coreaudiod fixes it.
Thanks!
The coreaduidod process seems to be the culprit for me as well. (15" Retina MBP and Apple TV 3)
WeepingAngel,
While the Google page ranks will certainly help spread the work for the workaround, the best way to both make Apple aware of the issue and encourage them to fix the problem is to submit the issue to apple.com/feedback. This is a user forum, and while Apple has moderators and employees active in the forum, they do not actively use it to determine what to work on in future updates. Any time you have a confirmed issue with something like this, always submit feedback through the website. As should everyone else. The more users that are frustrated with an issue, the more quickly Apple will address the problem.
Thanks mvest and DC Soup - DC Soup's suggestion worked for me without having to kill the sound daemon. DC Soup - can you comment on why you thought to try this?
Will post this in the feedback section as well.
I had the exact same problem, nothing worked. Don't know what happened, but today I played a video on YouTube (in Chrome) and I have sound! Let's see for how long..
Thank you, Raakanin, killing the coreaudiod process did also help me.
christian
Just got rid of the problem by simply rebooting the device. Now it works as a charm.
It sounds like I have the same problem as everyone here but I don't seem to have the same solution. 😟
My setup: My speakers are connected to my AirPort Express base station. For streaming only audio from my laptop I can select the AirPort and it works fine. I have my AppleTV set up on other other side of the room connected to a projector. The AppleTV uses my speakers wirelessly via the AirPort – this works very smoothly for all my AppleTV-only purposes.
However – when I direct computer audio to my AppleTV, all I get is silence. Also, laptop-AppleTV screen mirroring works but there is no audio. When I try and shift my computer to using the AirPort audio, my AppleTV mirroring disconnects. Killing core audio and restarting the various devices does not seem to help.
Any Holmes out there with a clue as to what might be going on?
Thanks!
AirPlay Mirroring