You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Airplay dropping after ~2 minutes

Recently, airplay from my iOS devices to an apple tv ha s started dropping after about 2 minutes of play time. It happens with both youtube and vimeo and both my phone and my wife's phone. My setup is:


Apple TV 4th gen w/ tvOS 10.2.2

iPhones with 10.3.3

Ubiquiti EdgeRouter X 1.9.7 hotfix 2 (also tried 1.9.1.1 with same results)

2x Ubiquiti Unifi AC Pro

2x LinkSys LGS116P switch


It doesn't happen 100% of the time but once it starts happening, it happens quite consistently (which makes it easier to try different things). I've tried rebooting the router, the APs, the phones, the apple tv, and the switches without any improvement. I've also tried removing one of the APs but that didn't help either. I've captured packets on the ERX when it happens and it looks like a the apple tv sends up a bunch of resets (see attached, 10.0.1.77 is the apple tv)?


User uploaded file


It doesn't happen when playing videos directly from the apple tv, only when airplaying from a phone to the apple tv. It's definitely annoying and it didn't happen a month or two ago.


Has anyone else experienced airplay dropping after about 2 minutes before? Any suggestions on what I can try?


thanks!

Apple TV, tvOS 10.2.2, 4th gen

Posted on Sep 3, 2017 1:07 AM

Reply
64 replies

Oct 19, 2017 5:54 PM in response to Steve RK

Hi Steve RK. Is your iPad WiFi + cellular? And is WiFi Assist enabled for cell data? I'm thinking that even a momentary WiFi disconnect from the iPad would be enough to interrupt the AirPlay.


My iPad Air with iOS 11.0.3 has no trouble with AirPlay to Apple TV 4, both mirroring and normal. So I don't think there's anything wrong in the AirPlay implementation. Your problems are more likely due to some networking issue.

Oct 20, 2017 12:36 AM in response to Diana.McCall

First, Diana, thanks for taking an interest. Yes, my iPad is WiFi + cellular. I am not familiar with "WiFi assist," so I will have to look into that. But why would there be any cellular data when WiFi is connected? Anyway, this does not explain why it was working fine for me before the iOS 11 upgrade, nor does it explain the timing, which is always 3 minutes. I tried it with my iPhone, and exactly the same thing happens. One thing I did not try and will try is rebooting the router, though it seems to be working just fine. I will also look into WiFi assist. Thanks for that pointer.

Oct 20, 2017 12:46 AM in response to Steve RK

WiFi assist - interesting feature - is enabled by default, so it's probably on. My cellular connection at home is weak, and my WiFi connection in these scenarios is anything but weak. It's full strength. I just can't see this as the issue, especially since it was not a problem in the past, and WiFi assist has been there since iOS 9. I'll report if rebooting the router helps. By the way, I don't think WiFi assist works very well if it is on. When I'm out and about, I often have to turn WiFi off to get a weak WiFi connection out of the way for a good cellular data connection. I'm on Long Island, where we have quasi-ubiquitous Optimum WiFi to which my devices are registered connect automatically. It is often a pretty dicey connection which I'm better off without, especially since I now have Verizon unlimited data. I should probably de-register my devices for auto-connect.

Oct 20, 2017 1:42 AM in response to Steve RK

It does not happen with simple mirroring. It only happens in projection mode (or whatever they call it) when the video is showing only on the Apple TV and something else is on the iPad screen. In Netflix, "something else" is just a fixed screen saying "Your video is playing on your TV." In Amazon, it's interesting information, I think they call it X-Ray.


Anyway, after it happens, the iPad is in a strange state. The video bounces back to the iPad. Apple TV goes back to itself. If you look at the iPad control panel, Apple TV screen mirroring still has a check mark. iPad seems to think it is still connected, but it isn't. To get it working again, you have to un-check it in the control panel, kill the streaming app on the iPad, and start all over again. But there's no point, since it will die again at 2:50.

Oct 20, 2017 4:13 AM in response to Steve RK

First, how are you initating AirPlay? Do you enable mirroring, do you use the AirPlay icon in the video player, or do you enable basic AirPlay from the music player controls in Control Center? Do you start mirroring, then switch the video player to full-screen?


In basic AirPlay (projection mode), Apple TV connects directly to the server, and streams the content itself. The dark screen on the iPad lets you control the player, but is not actually involved in streaming the video. AirPlay can fail if the server disconnects for any reason. Basic AirPlay willalso terminate if Apple TV loses connection with the iPad. When it fails, it is normal for the video to continue playing on the iPad. The confused situation you describe suggests that something odd has happened, either in Apple TV or in the iPad.


You mention Netflix and Amazon, both of which serve proprietary content which may have DRM issues. Could you try AirPlaying a generic web video, like Vimeo?


Are you possibly using a VPN on the iPad, which would mean the internet routing is different between iPad and Apple TV?


Incidentally, which model Apple TV do you have?

Oct 20, 2017 1:15 PM in response to cameronring

Here Is How I Resolved The Problem.

1. Have iTunes Open On Computer.

2. Have Apple TV Turned On And On Main Menu Screen (That's The One With All The Fun Channel Icons).

3. Turn Home Sharing OFF In iTunes And Close iTunes.

4. While Apple TV Is ON Unplug Power Cord From The Apple TV (Not From Wall Outlet But The Actual Apple TV Black Box).

Wait "One Minute Or More".(For Some Reason It Resets Memory In Apple TV But Does NOT Reset All Your Settings.

5. After "One Minute Or More" Wait - Open iTunes On Computer.

6. Plug Apple TV In And Let It Restart. Wait Till All The Icons Appear On Main Menu Screen.

7. Click To Highlight Computer Icon On Main Menu. Screen Should Say "Home Sharing Off" Or "Turn Home Sharing On".

8. Go To Computer And Turn Home Sharing On In iTunes.

This Stopped My Repeated Restarts.

Oct 20, 2017 8:57 PM in response to Diana.McCall

Wow, Diana, this message explains much that I did not previously know and provides a substantial solution to my problem.


I did not know that in basic AirPlay, Apple TV was connecting to and streaming from the server. I always imagined that the video was being transmitted via WiFi from the iPad to Apple TV. This explains a lot about how Apple TV achieves such excellent quality in what seemed such an indirect and potentially problematic signal path.


I also did not know that there were multiple ways to initiate AirPlay. I was only aware of one - the mirroring option. I begin by enabling mirroring, and my iPad screen is immediately visible on the TV. If I begin playing video in what I would call a "well-behaved" application, e.g. Amazon Video, it switches into basic AirPlay automatically. It is this path that worked for me in iOS 10 and that I used frequently. And it is this path that consistently times out in 2:50 for me in iOS 11.


I don't think it's intuitive that connecting AirPlay via the music player, the second of the three methods you explained, would have any impact on video. However, with your encouragement, I discovered and tried that method. Remarkably, it works for video. No more 2:50 timeout. It doesn't mirror, and the mirroring was kind of annoying anyway, but in most cases, including the ones I was most concerned about, Amazon being the prime example, it automatically changes to basic AirPlay and (as I now understand) streams video from the server perfectly with no 2:50 interruption.


This does not seem logical to me, but it does solve my problem and make it unnecessary for me to do what I was right on the verge of doing, which is downgrading back to iOS 10.


There are certain differences in behavior between the two methods that I would like to describe FYI. I will call the mirroring approach Method 1 (M1) and the music approach Method 2 (M2).


In M1, Amazon on the iPad is more than a fixed control screen. It provides the sometimes interesting X-Ray information that Amazon makes available, which tells, for example, what actors are currently on screen. With M2, this is not available; it's a fixed screen. There is a trade-off here. I like the X-Ray info and sometimes refer to it. But it's no contest. M2 is far preferable because it eliminates the crazy-annoying interruption every 3 minutes with its laborious recovery. Amazon may be the only application to which this appiies.


M2 generally works better than M1. There are applications and situations where M1 does NOT switch to basic AirPlay, but continues mirroring the full screen video on the iPad. It does this remarkably well. But it's not nearly as good as basic AirPlay video. Examples of this are the NBC app and some websites on which I watch videos. With both of these, using M1, I was always watching a full screen mirroring on the TV, which is NOT QUITE full screen. With M2, in both of these apps and in other places, I get the control screen only on the iPad and I get true full screen on the TV. It's great! It's how I always thought it should be.


Picking up on a few other points: No VPN in the mix. It's an old Apple TV (maybe 3 years, the little one, but not the new one with apps or the new new one with 4K). My whole reason for getting it was AirPlay, having become a both a Mac user and an iPad user. My iPad lock timeout is set to never, and my Apple TV sleep timeout is set to 1 hour. So, no insights there. And the public WiFi I mentioned has nothing to do with my WiFi router, which is hard wired to my cable modem. At home, I don't see the public WiFi at all. I was just talking about the situation in certain places out and about that I tend to frequent.


I haven't tried using the AirPlay icon in the video application. I'll experiment with that too. I think there may still be some bugs in iOS 11 behind the 2:50 timeout with M1, because it used to work. But what's most important for me is that you've given me a viable way to make this work well enough to again enjoy viewing Amazon Video and NBC and others on my TV via the iPad. For this, I THANK YOU again and again.

Oct 21, 2017 10:14 PM in response to Steve RK

I have the same problem with my relatively new iPad Air, only happened after I upgraded to iOS 11. Before the upgrade, airplay to Apple TV playing video would work flawlessly. Now it would occasionally stutters (workaround is to move the ipad closer to the Wifi, and repeatedly trying to connect/disconnect to ATV). Depends on the video app it would also drop out of my Apple TV after exactly 3 minutes!


Again, iOS 11 has been no good for me and it has impacted my iPad's performance negatively - Apple should really look into this. My workaround is to reboot my iPad and makes sure it has the best connections. Very disappointing that the upgrade actually made my iPad more susceptible.

Oct 21, 2017 11:00 PM in response to Steve RK

Initiating AirPlay from the video application also works beautifully. The 2:50 timeout only applies when I initiate AirPlay via the Mirroring button int he control panel. I'm pretty happy. Initiating it in the Amazon application gives me X-Ray too. So I've got everything now. Diana, please check to see if you have the problem when initiating mirroring and then switching to basic AirPlay automatically within an application. Maybe the mirroring button is only for mirroring now, and is not intended to work for basic AirPlay. That is not intuitive, since it used to work fine that way.

Nov 14, 2017 3:40 AM in response to richfromoakley

I have the exact same problem. I have two iPhones and one Apple TV, all o my home network. One iPhone runs iOS 10 and works flawlessly with AirPlay, the other iphone has just been updated to iOS 11 and AirPlay disconnects every two minutes. Since the entire rug works perfect with iOS 10 I'm pretty convinced the flaw is in iOS 11. Haven't been able to resolve it though.. :(

Airplay dropping after ~2 minutes

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.