How do I share my screen to airplay / AppleTV?
I've seen a lot of posts about streaming audio to their AppleTV / other airplay audio devices... but I want to share my screen.
Is there a way I can do this?
I'm on Ubuntu 16.04.
3 Answers
No. Airplay is a proprietary protocol that hasn't been fully reverse engineered. That might even never happen.
If you are not bound to Apple, you might look into DLNA.
1Well, there is a way - It is not really fancy, but it works:
- Download latest release of airplay.jar (in GitHub there is "2 releases" link)
- Download supplementary library jmdns.jar (stored in folder Java/lib)
- Execute from folder with downloaded jars by java -cp "airplay.jar:jmdns.jar" com.jameslow.AirPlay
It should show list of available devices after a few seconds, then ask for resolution and finally share your screen.
2Connect to the wifi network of the AppleTV
Download or clone from this link:
Once you have downloaded the .zip, unzip it and enter the folder open-airplay-master.
The document “Dockerfile” contains the list of instructions: From terminal:
sudo apt-get update
sudo apt-get install -y default-jdk
sudo apt-get install -y maven2Apparently the maven2 library is not available on Ubuntu 16. In this case, you should install the maven library with the same command as above.
From terminal:
cd open-airplay-master/Java
antThe command ant builds the airplay.jar file in the open-airplay-master/Java/build folder.
From terminal:
cd open-airplay-master/Java
java -cp "build/airplay.jar:lib/jmdns.jar" com.jameslow.AirPlayYou should see a searching window for few seconds. It should find the AppleTV automatically (click OK). Select resolution and click OK.
Now you should see your screen projected.
1More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"