News for hackers. Stuff that matters.
Re:An open-source AirPlay mirroring server for the Raspberry Pi by freewizard on Thursday February 04, 2021 @08:12AM (#26025023)
Thanks for sharing.

There was an Airplay 2 implementation existed for not very long. Hopefully this one will stay.

Looking forward to more open source projects supporting AirPlay 2.

Re:An open-source AirPlay mirroring server for the Raspberry Pi by bluesign on Thursday February 04, 2021 @08:19AM (#26025068)
I think this one is using the legacy protocol
Re:An open-source AirPlay mirroring server for the Raspberry Pi by read_if_gay_ on Thursday February 04, 2021 @09:19AM (#26025479)
What is the difference between the two?
Re:An open-source AirPlay mirroring server for the Raspberry Pi by pbronez on Thursday February 04, 2021 @11:54AM (#26027145)
From [0]:

> Airplay doesn't offer multi-room audio; AirPlay 2 does

> AirPlay lets you stream from any Apple device to your speakers or TV

> AirPlay 2 lets you play from speakers over Wi-Fi, and it'll stay in sync

> AirPlay 2 lets play different songs in different rooms with multiple HomePods

Personally I've been very happy using AirPlay 2 with recent iPhones, a collection of HomePod Minis, an AppleTV and Denon Receiver. It makes it pretty easy to set up complex audio routing configurations from your phone. You can send a stream to several devices simultaneously while controlling volume independently and as a group. You can see what's playing on each device. Audio quality is good, battery impact seems fine.

I wish I could have strong AirPlay 2 support from non-Apple devices, but I know how the ecosystem works. Still, easy enough to use something like the Emby iOS app [1] to bridge arbitrary content into the system.

[0] https://www.pocket-lint.com/speakers/news/apple/144646-apple...

[1] https://apps.apple.com/us/app/emby/id992180193

Re:An open-source AirPlay mirroring server for the Raspberry Pi by funcDropShadow on Thursday February 04, 2021 @03:03PM (#26029164)
> Airplay doesn't offer multi-room audio; AirPlay 2 does

That seems strange. Because I remember buying several used Airport Express base station to build a multi-room audio system. It worked great. That was around 2006/7, if my memory serves me right. At that time the protocol and the feature was called AirTunes.

Re:An open-source AirPlay mirroring server for the Raspberry Pi by 3JPLW on Thursday February 04, 2021 @05:16PM (#26030431)
Yeah, you (used to?) be able to do multi-room audio with the original Airplay, but it was only supported from Macs. iOS did not support it.
Re:An open-source AirPlay mirroring server for the Raspberry Pi by pfranz on Friday February 05, 2021 @12:42AM (#26033495)
Doesn't the original AirPlay have a constant 2 second lag? Like pressing Pause will take 2 seconds to take effect. I remember hearing it was something addressed in AirPlay2.
Re:An open-source AirPlay mirroring server for the Raspberry Pi by amaccuish on Friday February 05, 2021 @04:15AM (#26034478)
Original AirPlay does have a built in lag, but commands like pause were sent immediately (and if the target has hardware volume control, volume would be instant to rather than modifying the lagged audio stream)
Re:An open-source AirPlay mirroring server for the Raspberry Pi by danpalmer on Thursday February 04, 2021 @09:34AM (#26025597)
In addition to the features given by others, I believe AirPlay 2 significantly re-worked the way timing and sync works.

Previously I believe AirPlay (1) had a fixed 2 second delay, which was not a great UX and also caused issues in syncing multi-room (or multi-output) audio.

AirPlay 2 does this in a much more dynamic way that reduces the latency (anecdotally, maybe 100-200ms is typical) and improves the sync. I have no idea how it achieves this though.

Re:An open-source AirPlay mirroring server for the Raspberry Pi by anamexis on Thursday February 04, 2021 @10:11AM (#26025943)
I believe AirPlay 1 could not do multi-room audio at all.

Edit: OP actually has a really nice breakdown. https://github.com/FD-/RPiPlay#airplay-protocol-versions

Re:An open-source AirPlay mirroring server for the Raspberry Pi by funcDropShadow on Thursday February 04, 2021 @03:07PM (#26029207)
AirTunes already had multi-room support. It might have been technically different. But you could select to mulitple AirPort Express at once and they would play the audio synchronized.
Re:An open-source AirPlay mirroring server for the Raspberry Pi by mjlee on Thursday February 04, 2021 @09:26AM (#26025542)
Airplay 2 adds multi-room streaming, and a nifty shared up-next playlist that multiple users can add to.