open-airplay icon indicating copy to clipboard operation
open-airplay copied to clipboard

tvos 10.2 requires AirPlay hardware verification

Open rburcham opened this issue 7 years ago • 14 comments

Hi James. Are we screwed?

http://appleinsider.com/articles/17/03/29/tvos-102-update-requires-airplay-hardware-verification-breaks-third-party-streaming-apps

https://discussions.apple.com/thread/7904345?start=0&tstart=0

AirParrot and DoubleTwist have resolved it. Airfoil is still working on it, and recommending folks not upgrade past 10.1.1 until they have it solved.

I'd just like to mirror my linux laptop again :)

rburcham avatar Apr 21 '17 22:04 rburcham

Maybe this project could get some help by Beamer, AirParrot or DoubleTwist? They seem to have managed the hardware verification.

funtax avatar May 03 '17 16:05 funtax

@funtax any idea how to get one of those experts to see this issue? or give a hint?

rburcham avatar May 11 '17 13:05 rburcham

I think the author of this repo has to write them via e-mail. I'm at this time also trying the reverse-engineer the authentication in Java - it's a SRPv6a-authentication followed by some encryption.

Just in case I might have success and no one else was faster with this, I will publish it so all other projects can use it as well!

funtax avatar May 11 '17 13:05 funtax

One minor concern I have is that the folks who have already worked around the issue happen to be Apple certified developers. I'm worried that there may be some Apple issued chain of trust present in the "some encryption" part you mention above.

rburcham avatar May 11 '17 14:05 rburcham

I have reverse-engineered the authentication, at least on my ATVv3 with the "device verification" enabled. I developed an easy to use Java-library that does the authentication/pairing and am testing it with my personal apps & users with an ATVv4 in the next days. Will try to open-source this here on github as soon as possible and then leave a hint in this thread.

funtax avatar May 22 '17 12:05 funtax

Excellent @funtax - be advised I have an office full of 1 dozen ATVv4 here ready to assist testing immediately!

rburcham avatar May 22 '17 14:05 rburcham

A user tested the new version of my app with his ATV v4 - the library is working as expected :-) I will do some final cleaning and open-source it in the next few days, stay tuned.

2017-05-22 16:50 GMT+02:00 rburcham [email protected]:

Excellent @funtax https://github.com/funtax - be advised I have an office full of 1 dozen ATVv4 here ready to assist testing immediately!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jamesdlow/open-airplay/issues/15#issuecomment-303123055, or mute the thread https://github.com/notifications/unsubscribe-auth/AAZmMCNClfiZsVazB1QiW9E6QZRuKK6Vks5r8aC3gaJpZM4NE3ol .

funtax avatar May 23 '17 20:05 funtax

Awesome news @funtax ! I shall stay tuned!

rburcham avatar May 24 '17 14:05 rburcham

Here we go: https://github.com/funtax/AirPlayAuth

More details will follow in the next days. You can simply import the project eg. into "IntelliJ Community Edition" and run the example :)

I'm the developer of two audio AirPlay-apps and can confirm that once the pairing has been done, the ongoing communication with the AirPlay-receiver is done like before.

Also, there seems to be no reliable way to check if pairing is required, beside checking the mdns-data for "appletv" and "pk". Then authentication can also be made on ATVs which have the authentication not enabled, so you can simply always do the pairing in case it's an AppleTV.

funtax avatar May 25 '17 13:05 funtax

Awesome work @funtax! I have not tried it yet but I bet a lot of people will be happy about this! It's requested for my python library, so I might borrow some of your work and port it to python. Again, great work!

postlund avatar May 25 '17 14:05 postlund

Really great work @funtax! I'm digging in...

rburcham avatar May 25 '17 14:05 rburcham

Is there any known workaround at present to get open-airplay to work with this authentication?

tremby avatar Jan 13 '20 23:01 tremby

Hey, I tried to combine this project with the authentication project for airplaying desktop. But for some reason

using "PUT /photo" currently returns

HTTP/1.1 501 Not Implemented
Content-Length: 0
Server: AirTunes/420.45

Does anyone have any ideas? I know very little about the airplay protocol and combining the projects was just some quick cut-n-paste. It would be super cool if it was possible to get airplay to work even with the new apple TV's

Here's the code / project

https://github.com/JonasRSV/AirPlayAuth-OpenAirPlay/blob/master/src/main/java/eu/airaudio/airplay/AirPlayAuthExample.java

JonasRSV avatar Apr 13 '20 14:04 JonasRSV

Anyone gotten this to work?

reginbald avatar Aug 12 '21 11:08 reginbald