Media mirror from Apple devices to linux
As I wanted to watch a movie together with friends I had the problem that the Macbook used to see a Apple TV movie did not have a HDMI port. We wanted to watch on a larger screen so I thought about ways to get the video on the larger screen.
As Apple does not support Miracast, this was not an option. Instead, it only supports AirPlay.
UxPlay
After a quick search I found uxplay, which is a nice tool to stream video from an Apple device to a Linux device (with an HDMI port).
However, for my specific use case, I could not use it for DRM reasons:
Note that Apple video-DRM (as found in “Apple TV app” content on the client) cannot be decrypted by UxPlay, and the Apple TV app cannot be watched using UxPlay’s AirPlay Mirror mode (only the unprotected audio will be streamed, in AAC format).
I still found this to be a very solid tool which works in all other cases. So sharing the screen and audio did work flawless - just not with Apple TV.
Documentation is available here: https://github.com/FDH2/UxPlay
For me, it was just one apt install uxplay away. I love Linux and Open-Source Software.