Airplay Speakers stop working after Apple TV Sleep

A huge part of why Channels works so well is our custom video player. Switching to the native player is not feasible- we would be starting from scratch and would have to reimplement every feature added to our player in the last three years. Plus, the native player would only work for users who had a suitable DVR server that supported transcoding. Plenty of users use only the Channels app, or run their DVR on older machines or budget NAS with no transcoding capability.

If you want to see how the native player works, try the DVR's web UI in iOS Safari, or try Plex's Apple TV app. It takes 5-10x longer to tune into a channel and there are all sorts of reliability issues. In fact, even Plex is moving away from the native Apple TV player. Emby and Infuse have already ditched the native player as well. It doesn't make sense for us to double the code in our app to try to deliver a sub-par secondary player that only a small percentage of our users will even be able to use.

I know the Airplay issue in this thread is really annoying, and it sucks that Apple hasn't been able to fix the bug in the API we're using. I've been poring over recent WWDC talks about Audio APIs to see if there's something newer available. I heard that Infuse recently fixed a similar issue in their app, so I think there is a workaround available.

I understand. My point about this has always been I just assumed it was already programmed. I just assumed that since you support Remote Access from iOS and tvOS Devices it would be a matter to allow it to happen on the local network. Do you not allow for Live TV and DVR streaming remotely via the DVR Server? Maybe you only allow streaming of DVR recorded content and not Live TV.

Sure, if you want transcoded video via DVR you can go to the Channels app settings and enable Home Streaming Quality = 720p.

Either way, the video is played using our custom player.

Regarding Infuse. I just tested it while playing a MPEG4 Video and it does not have the problem. However, maybe it does something different with MPEG4. But in the past I was never that impressed with Infuse performance but maybe it was with MPEG2. Have not used Infuse that much.

However, found something else my accident while testing. Hulu Live TV has a similar problem. When watching Live TV it will play on the Airplay 2 speaker (even after sleep) but if you hit the MENU KEY (which continues to play but shows menu on top) it will switch to playing on the HDMI (TV) but when you go back to full screen it will switch back to Airplay 2 speakers.

My Airplay 2 speakers are only in then Master Bedroom and wife mostly uses it and she does not use Hulu Live (except for Echo Show) so never noticed before. Maybe of help to you.

Yup Not working for me either.
HomePod Version: 12.1.3
AppleTV Version: 12.1.2

I hope Apple fixes this.

In the latest DVR beta from TestFlight, we have added a new Audio Driver setting under Video Player. Try changing this to Experimental and let us know how it works out.

That fixed the issue here.

To Test: I have 2 HomePod Speakers setup for Airplay.
Change the Settings to play via HP Speakers and working fine with Channels.
Exit channels and sleep ATV
Restart ATV and use Channels and HP Speakers are still in use. In the past it would go back to TV Speaker via my HDMI Setting.

Thanks for the Fix.

1 Like

I also conducted the same test with the same positive results. Looks good so far. Will keep you posted if things change.

Update here. I have submitted three sets of diagnostics from AppleTV Beta app for the experimental audio driver.

Live TV has been rock solid. Watch over three hours of Live TV without issue over multiple channels.

Recorded TV is not so good. I tried to watch three previously recorded shows and can only watch about 15 seconds before the sound drops out. Closing and reopening that app gives me another 15 seconds before audio dropout.

My next test will be recording a new show and see how it goes.

1 Like

Does pause/resume fix audio?

Does seeking back or forward fix it?

Pause/resume does not fix.

Rewind/fast forward allows for audio to play another 15 secs. Then cuts out again.

Did a test with a new recording today and I still have the audio problem after 15 seconds. Submitted a diagnostics log.

1 Like

Thanks for the diagnostics.

Please try again with the latest TestFlight build.

It appears to be working. Thanks for the fix.

2 Likes

I noticed something new if I am watching live tv and I swipe down to see what else is on. When I change the channel, the video studders and audio goes out. If I pause/resume the video and audio return to normal.

This only happens with the experimental audio driver.

I have the same problem. With Airplay Audio from Apple TV4 to Apple TV3 -> Denon receiver over HDMI for audio. How can I get on to the latest testflight version?

I think you can Sign-Up here, Testflight: Channels DVR Beta

The beta program is currently only available to Channels Plus subscribers.

This issue was finally addressed by Apple around tvOS 14