An open-source AirPlay mirroring server for the Raspberry Pi
github.com
github.com
Now using shairport (via the excellent hifiberry os and picoreplayer) on RPis and AirMusic on Android.
Seems a bit silly to be using an Apple protocol when I own zero Apple devices but works rather well. Had to give up on clientless playback (podcast app via chromecast) but this setup is significantly more reliable.
Does have a weird quirk where it'd detect two devices for each speaker, an IPv4 and v6 address. Only the v4 worked and both had the exact same name, mildly irritating.
Did try and find docs on disabling discovery and hard-coding addresses but to no avail.
The same smart person worked out a great deal during Covid that lets "disadvantaged" families buy an iPad for only 500€ so they can participate in online schooling.
I love my iPad and have used them in research for over 10 years. But I also have kids. It should be illegal to purchase glass tablets for education.
If Apple wants the education business, they should release a plastic touch screen version with a plastic backing (kids throw things, they can cut people in fights).
It’s sad when wealthy parents with too much time on their hands join these decision making committees and end up fighting for large corporations; and in this case, hurting the poor.
Also, there is almost no other option. If you think there is a competitor with similar usability, support, specs, and is the same price, you should let some school IT people know, because Im sure they'd appreciate it.
Also if kids are cutting themselves because they are throwing iPads at each other while fighting, you have serious other issues going on.
Chromebooks have seen some impressive growth, but I dont think its going to sustain itself. The quality of the 300-500$ chromebooks is atrocious. They have to be replaced at least yearly, and the usability of this is very poor.
I hate iPads now, but I liked them before the schools standardized on them. The bluetooth keyboard clamshell case they issued was balls. The restrictive app and network policy enforced by the district was balls. The litany of apps students were required to use beyond instructional materials was boggling. They essentially assumed students would be great petty bureaucrats and they were wrong.
It’s for pupils. People who will make tomorrow’s world. We don’t want to give them a read-only world.
One pan make many valid arguments about iPads vs PCs, and open vs walled gardens, but calling an iPad a 'read-only' device is NOT one of them.
My brilliant 12 year old daughter is an artist (both 2 and 3d, depending on her whims), and uses an iPad as a creative device that literally has no peer from other, more open ecosystems.
My 14 year old son learned the basics of coding on an iPad, and can use his for writing, math homework, and an incredible level of creative output programming various robotics devices he has.
An iPad does live in a walled garden, but it is far from a read-only device.
(Assuming they're well-insured and/or the children don't abuse them, etc.)
But this point is unfair to other knowledge workers. For example, my SO would get much better workflow from an iPad, especially with the pencil. The workflow includes a lot of research and note taking, including annotating images, and a mouse/trackpad is just too clumsy for this. The iPad seems perfect for that. I plan to get her one, currently waiting to see if they will refresh the iPad pro lineup in March.
Mind you that a 350€ laptop PC does not come with nearly as much longevity (due to bad build quality), performance and user satisfaction as the similarly priced iPad.
I believe iPad is a great force multiplier of the good 'ol pen and paper. It takes a bit of getting used to, but I bet the kids pick it up in a heartbeat.
For the more advanced endeavors, a 350€ PC as a second device. Not that expensive for a hobby, I think this is in reach of most parents.
Which is to say, airplay shouldn't be capable of bricking an iPhone, and if it can, that's a critical issue which needs to be fixed.
Of course, the user needs to enable screen mirroring first, but they'd have to anyway. If the iPhone can be made to send a video signal over Airplay without user interaction, that's a serious vulnerability which Apple needs to address immediately.
Sure. You could also point your webcam at your TV and then malware on your computer streams that to the public. This is all just a matter of how likely each problem is in practice.
So they’ve tried at having a closed garden. They didn’t succeed much because they had to enable HDMi-to-VGA adapters, and VGA is not encrypted. But the resolution is lower.
But the battleground has been tested for complete lockdown of image output, and now that they have the rough idea, no doubt the next standards are going to be more and more restrictive.
The same way they do it with webpages, Messages, and email. JailbreakMe.com used a TIFF exploit to jailbreak your phone 10 years ago--they patched it. iOS 14 added a thing called BlastDoor to protect Messages from malicious data. I don't see how documenting it changes anything.
How would you propose to deal with API changes?
As for deprecation - why wouldn’t they deprecate as soon as they have a software update for their own supported devices?
There are lots of compromised Widevine Level 1 keys out there, but Widevine license servers no longer accept them.
AirPlay is not a very useful term at this point tbh, but the Apple documentation on the differences is also garbage.
Teams also supports this well.
I kind of assumed it wouldn't work well before trying it, perhaps due to the lingering "mobile devices are low powered devices" stigma. In reality my iPhone can run full AR apps (meaning running the camera and a 3D rendering engine) and stream them to a Teams meeting without breaking a sweat. I wasn't even anxious about plugging in.
https://appleinsider.com/articles/18/03/26/tip-record-your-i...
I'm not sure which ends up being more reliable but I've had great success with NDI.
This is cool.
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.
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.
Edit: OP actually has a really nice breakdown. https://github.com/FD-/RPiPlay#airplay-protocol-versions
> 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...
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.
Raspbian took a turn that makes me think one should not use it anymore:
https://www.cyberciti.biz/linux-news/heads-up-microsoft-repo...
Sweeping in a repo by a third party is a bad thing imo.
Such a strange reason to give for locking a thread concerning these recent changes to Raspbian.
With all that said, I’m glad they’re including VS Code in the recommended software. In the past I’ve tried compiling it from source, but given the Pi’s limited CPU muscle it takes a long time.
One might think that. One would be wrong. It appears to be in the headless version and up.
I’m glad they’re including VS Code
The problem is not including VS Code in their distros repo. The problem is adding a third party repo to their distro.Why is that a problem? Lets not pretend that the article you linked actually provides a legitimate answer to this question.
As someone who has a couple, I'm not thrilled about it but I'll just quietly disable it with a guide every time I install or update one. If they keep going in this direction, competition does exist.
What's the concern? One of the largest Linux contributors is going to start pushing malware in their repos? If you don't trust MS, why would you be using Linux in the first place?
>that repo having general activity data
Literally the only thing you can determine from this activity is that someone at your IP address has an arm64 device running apt.
>install pings Only if you install something from that repo, so that's a very limited set of software.
And if I install the wrong application - BOOM - Code by Microsoft is executed on my machine.
>Now suddenly data flows between my computer and Microsoft.
So what? Data probably flows between your computer and NTP pool servers operated by completely random parties too.
2. If you are thinking about playing video you need Rasbian’s closed source drivers and if you are using ffmpeg, you will want their custom build that has hardware acceleration for the pi.
So Microsoft, assuming they want to go the extra effort (these are likely unconnected infrastructure pieces) could build a fingerprint of you to know that.. what, you have a raspberry pi? And they could go to extreme lengths to associate this with your GitHub account to know that yes you, John Smith, have a raspberry pi? What business value is this for them, and how could it be used for “evil”?
I think others could probably give the "evil" part a better take. Mine is just an unfounded guess around business/market research and future competition.
To me it just sounds like a general distrust of Microsoft compared to the Raspberry Pi foundation. I just wish it was more framed as 'I don't like Microsoft, no matter how rational or irrational this fear is.' I'd respect that far more than alluding to some potential tangible harm cross referencing that you own a Raspberry Pi with your github profile. You already declare what you own in your user agent when you use github to begin with -- why is an RPI so different and that much worse?
How about a repo just for the CCP/US Gov/Russia?
If I was getting software from the CCP/US Gov/Russia then that would also be fine. Here I'm not, it's a repo for VSCode from Microsoft. Context matters.
Are you worried Microsoft is going to install spyware by overriding something like 'git' in their repo that your pi would download instead? I see I'm getting downvoted, but no one has actually spelled out the potential evil scenario here other than better LinkedIn recruiting.
All my TVs have Roku built in and I was surprised a few weeks ago to wake up and see that My MacBook & iPhone started offering Airplay audio/video casting to any of my TVs.
Pretty slick addition to the already great Roku featureset.
Oh well that’s cause for hope!
Is there a program that does the same thing for the client? Such that I can run the client software on my laptop, and airplay to a raspi connected to my TV running the server software?
I've seen several attempts at open source Chromecast servers because the client support is excellent, but very few have remained after Google changed their API to be more closed and encrypted.
I do wish there was such a tool, though. An open source alternative to Chromecast would be amazing imo.
Essentially, would a full remote (LAN) desktop solution be possible here? Would love to be able to access iMessage on my Ubuntu desktop without switching hardware.
I have contemplated a KVM/qemu VM but, there are issues with iCloud services, including iMessage, when going that route.
Has this been fixed at all? Has anyone been able to cast AppleTV+ content?