41 lines
1.6 KiB
Markdown
41 lines
1.6 KiB
Markdown
#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:
|
|
1. Based on Gstreamer.
|
|
1. Video and audio are supported out of the box.
|
|
3. Gstreamer decoding is plugin agnostic. Uses accelerated decoders if availible. VAAPI is preferable.
|
|
4. Automatic screen orientation.
|
|
6. GTK+ support
|
|
|
|
##Building on Ubuntu:
|
|
1. sudo apt-get install cmake
|
|
2. 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
|
|
3. 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.)
|
|
4. sh install.sh
|
|
|
|
##Building on Manjaro
|
|
1. sudo pamac install cmake
|
|
2. sh install.sh
|
|
When you use gnome, you need to switch to Xord by using default session "Gnome with Xorg" at GDM.
|
|
|
|
##GTK+ Features:
|
|
1. Double click switches between fullscreen mode and normal window.
|
|
2. Escape key ends fullscreen mode.
|
|
|
|
##Troubleshooting
|
|
If there is no Connection detectable on the apple product. Try:
|
|
<pre>sudo gnome-script.sh</pre>
|
|
in the Application Folder.
|
|
If you want to have this permanently, add "ALL ALL=(ALL:ALL) NOPASSWD: /usr/bin/airplayserver" to the very end of the sudoer file. You can access it by:
|
|
<pre>sudo visudo</pre>
|
|
Add /usr/bin/airplayserver by:
|
|
<pre>sudo nano /usr/bin/airplayserver</pre>
|
|
with this:
|
|
<pre>#!/bin/bash
|
|
sudo /home/julian/AirplayServer/gnome-script.sh
|
|
cd /home/julian/AirplayServer/build
|
|
./AirplayServer</pre> |