Skip to main content

As Apple plans major AirPlay overhaul for iOS 9 & new Apple TV, mirroring apps must implement workarounds

While Apple hasn’t detailed the changes publicly, the company is planning what appears to be a major, undocumented overhaul of its AirPlay protocol with iOS 9 that should make the framework for streaming video and audio content between devices a much smoother experience for both users and developers. It is, however, breaking many screen mirroring apps in the process and forcing developers to scramble to implement workarounds ahead of the launch of iOS 9 on Wednesday and the new Apple TV in the coming weeks.

Perhaps the best example of these apps is Reflector from developer Squirrels. The app utilizes AirPlay to allow cross platform wireless mirroring from mobile devices to Macs, PCs, and other devices with the app installed. The developer first brought the change to our attention and warns that developers will have to follow in its footsteps to implement a workaround that will allow screen mirroring apps to continue functioning after iOS 9 is released… 

“What Apple did this time around with iOS 9 updates is make a wide-sweeping change to underlying protocols that power AirPlay,” Dave Stanfill, president and CEO of Squirrels explained. “A lot of the pairing setups (like how your mobile device interacts with a receiver) have changed. A lot of the exchanges between an iOS device and an Apple TV or any of the receivers have changed. The actual mechanism through which a mirroring connection is established was entirely overhauled. So, many underlying AirPlay components and protocols are entirely different in iOS 9. Not only at a security level but also with the way the two devices talk to each other.”

While the changes won’t affect app developers simply using AirPlay APIs for offering users the ability to stream from within an app to an AirPlay device like an Apple TV, it will break many screen mirroring apps that tap into the AirPlay protocol for screen sharing like Reflector. The apps are often used in education, enterprise, and within the tech world for things like screen recording and display mirroring to devices not supported by Apple.

Though developers of screen mirroring and streaming apps piggybacking on the protocol will have to implement workarounds to avoid issues with the changes in iOS 9, the overall changes appear to be a move by Apple to vastly improve device pairing and in the process improve the overall AirPlay experience across devices. The developers at Squirrels explained:

We discovered AirPlay has improved security, it’s faster and it improves overall performance. Using some of the new security features Apple implemented, the whole stack moves a lot faster. It allows for more interesting things like one-time pairing. That means less battery drainage and faster encryption and connection… This protocol is designed from the ground up for existing wifi, wifi direct, AWDL (Apple’s own wifi direct used for AirDrop and other features), Bluetooth, and even USB CarPlay and QuickTime. It is clear Apple sees a future of pairing all of your devices together in one easy to use network.

It’s possible Apple’s motivation for the changes to AirPlay and device pairing is related to the Apple TV acting as a hub for remote access to HomeKit products and the new Apple TV’s support for third-party gaming controllers. But the end result should be an overall improved experience for AirPlay and device pairing with the new Apple TV. “You could pair your iOS device to an Apple TV and never have to go through the full key exchange again. Once it’s paired, it’s paired,” the Squirrels developers explained, “Apple set the underlying foundation to “set-it and forget-it pairing” whether it be with your car, a set-top box in the living room, that sort of thing. That’s the fundamental reason they changed that protocol, we think.”

After implementing a workaround for the changes, for which Apple hasn’t released any documentation to developers, the result is a Reflector app with significant performance improvements, the developers told me. But until developers implement a workaround on their own, users that heavily rely on a similar screen mirroring app for iOS should consider holding off on updating until the app has updated for iOS 9.

iOS 9 is scheduled for release on September 16.

FTC: We use income earning auto affiliate links. More.

You’re reading 9to5Mac — experts who break news about Apple and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Mac on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

Comments

  1. petieg - 9 years ago

    Can’t wait till this screws up all of the AirPlay speakers i have been accumulating for years…. ugh…

    • “the changes won’t affect app developers simply using AirPlay APIs for offering users the ability to stream from within an app to an AirPlay device”

      • Jack Zahran - 9 years ago

        It will make AirPlay API Apps magically faster

      • Right, but Apple’s own implementation is flawed. It seems every time they fiddle with something they break something else. AirPlay isn’t “broken” but most customers don’t want 1 second audio cut outs that happen 2-3 times per hour. It’s so regular and predictable…

      • Komrad - 9 years ago

        Appledystopia – which is why I’m glad that doesn’t happen. Are you saying it will start happening ? On what info are you basing this statement?

  2. jdh770 - 9 years ago

    Will the current Apple TV (Gen 3) have a software upgrade that will be compatible with the new iOS 9 Airplay stack when iOS9 is introduced? Otherwise the apps that I have that I want to Airplay to my TV won’t work until some as yet unspecified date.

  3. Cory © (@Nardes) - 9 years ago

    Well AirPlay has been crap for me for about 2 weeks now… it freezes up on my mac and won’t connect and my iPhone/iPad might connect then drop, or just won’t connect at all

  4. modeyabsolom - 9 years ago

    Hallelujah!! And about bloody time too! I’m very pleased to read about this. I was beginning to think Apple had just lost interest in Airplay like they did with Newsstand. Glad they haven’t.

  5. shapenoid - 9 years ago

    This is also why… You’ll be able to start a work on Photoshop on your mac and continue it on your iPad http://i.imgur.com/BmRAHXi.jpg

  6. Paul Van Obberghen - 9 years ago

    We need to assume that this will also be implemented in MacOS 10.11 El Capitan for those Macs using Airplay.

  7. theagentmike - 9 years ago

    I believe iOS 9 broke my AirPlay functionality. Before upgrading, I was able to stream music to my AirPlay speakers perfectly fine. Now, they won’t stay connected and won’t play anything. When I tap the speaker and press play, it disconnects and plays the audio from the device speaker.

  8. appaljack - 9 years ago

    Will wait 3 months till the iPad Pro is out and I wont have to worry about it. Went to 9 on wife’s machine but many things are broken. Especially iCloud storage and backup. Maybe for her 9.1 service pack will help. My stuff on 8 all still works so will stay with that. As I have stated all over, if an OS comes installed on a machine it usually works. 8 came installed on my iPhone and works good. Will stay with it.

  9. Komrad - 9 years ago

    Airplay won’t stay connected for me if I pause play for a few minutes. I haven’t time it, but it seems to be less than 10 minutes where inactivity causes the phone to disconnect from my Airplay speaker and switch back to the ipHone builting speaker. iPhone 6 plus, iOS 9.1

  10. Luke J Simpson - 9 years ago

    all my airplay stuff has magically stopped and i cant get any of them working at all…thx heaps Apple

  11. I got the new Apple TV about two weeks ago. Now every time I play Spotify music, there are short dropouts. The pattern of the dropouts is similar. I checked everything else — WiFi is fine and I tried it from every device. It’s clearly a defect with AirPlay.

    I quit Apple Music because it would have 30 second dropouts, regardless of AirPlay, downloaded music, etc. Now they managed to ruin Spotify for me.

    It works fine on my 2nd generation Apple TV. They clearly introduced a bug in AirPlay.

    I think I will just plug my iPhone directly into my stereo with line in.

Author

Avatar for Jordan Kahn Jordan Kahn

Jordan writes about all things Apple as Senior Editor of 9to5Mac, & contributes to 9to5Google, 9to5Toys, & Electrek.co. He also co-authors 9to5Mac’s Logic Pros series.


Manage push notifications

notification icon
We would like to show you notifications for the latest news and updates.
notification icon
You are subscribed to notifications
notification icon
We would like to show you notifications for the latest news and updates.
notification icon
You are subscribed to notifications