mikebrady / shairport-sync

AirPlay and AirPlay 2 audio player
Other
7.06k stars 568 forks source link

Airplay 2 Support ? #535

Closed timstans closed 1 year ago

timstans commented 7 years ago

Any Plans?

simonrb2000 commented 6 years ago

It’s in iOS 11.3 beta 1. Remember you’ll need an Apple TV also running tvOS 11.3 to get it working 👍

rockrabbit commented 6 years ago

It’s in iOS 11.3 beta 1. Remember you’ll need an Apple TV also running tvOS 11.3 to get it working 👍

Without a screen shot this statement is worthless!

simonrb2000 commented 6 years ago

How is the above comment worthless? Its documented within the change log To use AirPlay 2 you need to have an AirPlay 2 player and currently the Apple TV is the only one on the market and to get AirPlay 2 on the Apple TV its bundled in the latest beta which is 11.3 beta.

Last time I try and help out on here if people are rude!

simonrb2000 commented 6 years ago

Oh and you want proof, check this link and watch the video - go to the 5 minute mark

https://9to5mac.com/2018/01/24/ios-11-3-whats-new-hands-on-top-features-video/

mikebrady commented 6 years ago

Thanks everyone. There is some information out there now alright. It seems that it must be a fourth generation Apple TV (which I don't have). Anybody know if you need to be a paid Apple developer to do this stuff?

simonrb2000 commented 6 years ago

There isn’t any public beta yet so officially you need to be a paid developer. However there are ways of getting the developer beta profile onto your devices 🤭

TheE commented 6 years ago

The public beta was just released: https://9to5mac.com/2018/01/25/ios-11-3-public-beta-1/

simonrb2000 commented 6 years ago

Just seen this! Thanks

rockrabbit commented 6 years ago

Just updated to iOS 11.3 public beta 1.

Airplay 2 option Not present.

iPhone X or iPad

simonrb2000 commented 6 years ago

Rockrabbit You need an Airplay 2 compatible player for it to show. Have you got one?

rockrabbit commented 6 years ago

simonrb2000

First want to apologize for offending you, was not the goal at all. I have watched the WWDC key note enough times to know to look for the select dots. This is why I asked for screen shot.

Secondly, can you define what you mean by Airplay 2 compatible player?

Right now I have two Raspberry Pi's running Shairport Sync and a 4th Gen Apple TV running the latest public Beta

rockrabbit commented 6 years ago

https://i.imgur.com/dD2crju.jpg

simonrb2000 commented 6 years ago

Airplay two is a completely new protocol and wont work with existing AirPlay players. Everything on the market now is AirPlay 1. Only AirPlay 2 players will show up as AirPlay two players on iOS 11.3. tvOS 11.3 beta for Apple TV 4th/5th gen enable the AirPlay 2 protocol. Then they will show up as AirPlay 2 on your iOS 11.3 public beta.

Basically you need AirPlay 2 players to show up on iOS 11.3 public beta. If you uptake your Apple TV to 11.3 beta then AirPlay 2 will work on your iOS 11.3 public beta device. Be warned it is a little buggy..

Does this make sense, and apology accepted :D

PS. Your Apple TV is probably running tvOS 11.2.5 which is the latest public beta, you need the developer tvOS 11.3 beta 1 to enable AirPlay 2 on your 4th Gen TV

simonrb2000 commented 6 years ago

tvOS 11.3 public beta 1 is now out.. check for update then you shall be able to use AirPlay 2 to your Apple TV

rockrabbit commented 6 years ago

https://i.imgur.com/ZcwaDlS.jpg

Confirmed! Updated my ATV4 to the latest beta and now have the Circle Option.

This Thread should be closed and a new one requesting that the Genius that is Mike begins his magic and turns our Shairport-Sync Devices into Airplay 2 compatible ones!

mikebrady commented 6 years ago

Haha, thanks, but to be honest, I would not be very hopeful. AFAIK, no third parties have successfully developed full access to the AppleTV's video facilities...

On a more positive note, it does look like Apple are going to some lengths to retain compatibility with AirPlay "1".

simonrb2000 commented 6 years ago

I guess we have to wait for AirPlay 2 to be reverse engineered. Not sure how long that will be. No doubt Apple up’d the security on it.

noelhibbard commented 6 years ago

Apple really should open up the protocol to developers. I know they are looking to keep people buying their products but they can’t possibly expect people to buy individual Apple TV’s for each room in there house. I have ceiling speakers in most of my rooms that are all wired into a central closet where I have a machine running a bunch of instances of shairport-sync. Does Apple really expect me to have a stack of Apple tv’s in this closet that aren’t even connected to tvs? Now they are going to release this HomePod thing. I don’t want a single dinky speaker in each room. What about my back porch, am I going to put a HomePod out there? Apple needs to release a minimal AirPlay device for audio only. Similar to the old AirPort Express but even more minimal and cheaper. Otherwise, open it up!

rthigpen commented 6 years ago

Strongly agree that all parties involved (consumers, devs, Apple, etc…) would benefit from this being an open and well-documented protocol, preferably with a reference implementation maintained by Apple.

From: noelhibbard [mailto:notifications@github.com] Sent: Friday, January 26, 2018 1:45 PM To: mikebrady/shairport-sync shairport-sync@noreply.github.com Cc: Thigpen, Ron rthigpen@rti.org; Comment comment@noreply.github.com Subject: Re: [mikebrady/shairport-sync] Airplay 2 Support ? (#535)

Apple really should open up the protocol to developers. I know they are looking to keep people buying their products but they can’t possibly expect people to buy individual Apple TV’s for each room in there house. I have ceiling speakers in most of my rooms that are all wired into a central closet where I have a machine running a bunch of instances of shairport-sync. Does Apple really expect me to have a stack of Apple tv’s in this closet that aren’t even connected to tvs? Now they are going to release this HomePod thing. I don’t want a single dinky speaker in each room. What about my back porch, am I going to put a HomePod out there? Apple needs to release a minimal AirPlay device for audio only. Similar to the old AirPort Express but even more minimal and cheaper. Otherwise, open it up!

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/mikebrady/shairport-sync/issues/535#issuecomment-360869746, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIfh8OotbH1grocg9X2eVXo490B0tQ0Jks5tOh05gaJpZM4Nwfua.

echamberlain commented 6 years ago

Air Play 2 is open and available to any developers in the MFi program. Sonos, for example, has announced that it’s higher end speakers will support Air Play 2.

Apple has a track record of not opening its protocols for third-party integrators that want to cut corners, don’t expect that to change now.

noelhibbard commented 6 years ago

But when it comes down to it AirPlay on any of Apple’s own hardware has been very unstable. Shairport-sync has been the most reliable airplay implementation I’ve used. As a matter of fact today I was AirPlaying to my Apple TV and it just randomly dropped the connection. AirPlay is also unstable in Sony receivers. And so is my dads Bose speaker that has AirPlay support. Seems the big guys are the ones cutting corners and giving it a bad rep. It needs to be open as in open to the public. Not just people with big checkbooks.

EricWVGG commented 6 years ago

The latest ATP podcast goes into a good amount of detail over the differences between Airplay 2 and old Airplay. It would certainly make my life a lot better... but none of the Apple hardware (Apple TV, HomePod) fits my needs, so I certainly hope a future version of Shareport can fulfill this dream.

http://atp.fm/episodes/258

VeniceNerd commented 6 years ago

@mikebrady hey Mike are you saying you’re not interested to add AirPlay 2 support to shairport-sync? As far as I understand AirPlay 2 support will be part of iOS 11.3. I’m hoping that it would be possible to add support since Airplay 2 will enable native multi-room music playback to iOS.

mikebrady commented 6 years ago

Of course we’d all be interested, but we have no information at all about its implementation. On past experience, Apple will not release enough information to figure it out.

VeniceNerd commented 6 years ago

Sorry, dumb question, but didn’t someone also figure out how AirPlay 1 works?

mikebrady commented 6 years ago

Sure, but more recently it seems nobody has figured out the AppleTV...

VeniceNerd commented 6 years ago

I assume since Airplay 2 is available for third party implementation it shouldn’t be impossible to get information?

QUOTE: As AirPlay 2 is an open API, any developer or manufacturer can apply with Apple to add support to their app or device, so unlike Sonos (for example), you won’t need to play music from one specific app.

SOURCE: https://www.digitaltrends.com/home-theater/apple-airplay-2-explained/

echamberlain commented 6 years ago

It’s not impossible to get implementation details. The challenge is getting the vendor specific authentication working.

While the implementation is available for members of Apple’s MFi program, they are not free to share it with third-parties.

Dangoo commented 6 years ago

https://9to5mac.com/2018/02/20/airplay-2-removed-11-3-beta/

Postponed…

mikebrady commented 6 years ago

Yeah, it's hard to know what's happening. Maybe someone should tell the 9to5Mac guys what you can do with a Raspberry Pi and an amp 🙂.

messismore commented 6 years ago

Apparently it's back in the 11.4 beta 1: https://9to5mac.com/2018/04/02/stereo-homepod-pairing-ios-11-4-beta/

VeniceNerd commented 6 years ago

Hey @mikebrady have you been able to look into the Airplay 2 functionality in iOS 11.4 by any chance yet? I’d looooooove to run a couple of shairport-sync boxes in my house and be able to tell Siri to play music “in the living room and kitchen”. :)

hennessyevan commented 6 years ago

Airplay 2 is officially here in iOS 11.4!

fluppie commented 6 years ago

I have 2 iPhones, updated the one from work to 11.4 and Volumio with Airplay is not working anymore. So guess people should wait upgrading.

mikebrady commented 6 years ago

Hmm. I’ve just updated to iOS 11.4 on an iPhone 6 and an iPad Pro 12” first generation and everything is working as before.

kevocl commented 6 years ago

I'm running 3.1.7 on 3 different Raspberry Pis running Raspbian Stretch and all are working fine since upgrading my iPhone 8 to iOS 11.4

fluppie commented 6 years ago

Hmm indeed, after a reboot off my iPhone 7 all is working now :). Now explore that AP2 protocol ;-)

mikebrady commented 6 years ago

Oops -- didn't mean to close this. Finger trouble.

gat45 commented 6 years ago

Hi a link to give you some money? story we all participate in your work

roblan commented 6 years ago

@gat45 https://github.com/mikebrady/shairport-sync/issues/445

mikebrady commented 6 years ago

Thanks -- it's kind of you to ask, and it really isn't necessary, but if you insist, I have a link at https://paypal.me/UMBr.

mikebrady commented 6 years ago

Yikes, @roblan, you beat me to it!

fabienheureux commented 6 years ago

Hey @mikebrady, I read this on James Laird blog about one of the first release of shairport:

My girlfriend moved house, and her Airport Express no longer made it with her wireless access point. I figured it'd be easy to find an ApEx emulator - there are several open source apps out there to play to them. However, I was disappointed to find that Apple used a public-key crypto scheme, and there's a private key hiding inside the ApEx. So I took it apart (I still have scars from opening the glued case!), dumped the ROM, and reverse engineered the keys out of it.

I am very new to this kind of dev (used to be a web dev, mostly), and don't know much about the history of the Shairport project, but do you have an idea about whether this could be done, today, with another device (Apple TV for example) ? And, would it be needed to get AirPlay 2 to work using Shairport ?

Anyway, thanks a lot for your work 👌

mikebrady commented 6 years ago

I don't really know about the earlier versions of Shairport, Fabien, as I became interested in the project much later on. Many people have been trying and are still trying to reverse-engineer the AppleTV and undoubtedly are trying to do the same with AirPlay 2. However, there has been no reported success yes, and I'm certain Apple have learned from their experiences with the AirPort Express.

gat45 commented 6 years ago

and with the jailbraik it would help?

mikebrady commented 6 years ago

To be honest, I don't really know. It's not my area of expertise, I'm afraid. But you can be sure lots of people are trying...

akarpo commented 6 years ago

Donated! It's absurd that Apple wants $150 for an audio bridge (the Apple TV) when Google charges $35 for a Chromecast Audio that's been out since September 2015.

Hardware has advanced / gotten cheaper since then. There's no reason a Raspberry Pi 3 Model B couldn't handle the hardware requirements associated with buffering/storing a few minutes of lossless audio.

andrewsiemer commented 6 years ago

I would love to contribute funds [and prayers] to see AirPlay 2 support for Raspberry Pi! I know its a stretch but I have 3 Apple TVs in my house an a HomePod and can say honestly that AirPlay 2 is super neat. I would like to expand it to more speakers (preferably my outdoor speakers) soon!

hennessyevan commented 6 years ago

https://appleinsider.com/articles/18/06/07/apples-airport-express-reappears-in-home-app-in-ios-12-beta

mikebrady commented 6 years ago

It will be interesting to see how this develops...