a92d2be78d611a44eb3bc317667d9acf7b5e6220
#AirplayServer for Linux
Work is based on https://github.com/FD-/RPiPlay and https://github.com/antimof/UxPlay Tested on Ubuntu 18.04, 20.04 desktop and Manjaro 20.0.3 Cinnamon. Requires 5G Wifi connection.
##Features:
- Based on Gstreamer.
- Video and audio are supported out of the box.
- Gstreamer decoding is plugin agnostic. Uses accelerated decoders if availible. VAAPI is preferable.
- Automatic screen orientation.
- GTK+ support
##Building on Ubuntu:
- sudo apt-get install cmake
- sudo apt-get install libssl-dev libavahi-compat-libdnssd-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-libav libglib2.0-dev libgtk2.0-dev build-essential libgtk-3-dev
- sudo apt-get install gstreamer1.0-vaapi (For Intel graphics) (If you get Problems like a green screen. Remove this package! It worked for me.)
- sh install.sh
##Building on Manjaro
sudo pamac install cmake
sh install.sh
When you use gnome, you need to switch to Xord by using default session "Gnome with Xorg" at GDM.
##GTK+ Features:
- Double click switches between fullscreen mode and normal window.
- Escape key ends fullscreen mode.
##Troubleshooting If there is no Connection detectable on the apple product. Try:
sudo gnome-script.sh
in the Application Folder. If you want to have this permanently, type:
sudo visudo
and add this to the very end of the file:
ALL ALL=(ALL:ALL) NOPASSWD: /usr/bin/airplayserver"
Now we need the /usr/bin/airplayserver file. Create this file:
sudo nano /usr/bin/airplayserver
and add this content (replace $APPDIR with your location of the application):
#!/bin/bash sudo $APPDIR/gnome-script.sh sleep 1 #gives the services time to fully start cd $APPDIR/build ./AirplayServer
Description
Languages
C
98.7%
C++
1%
CMake
0.3%