This will show you how to airplay from iPhone or iPad to linux. This way you can stream from your iPhone to a linux media server, or a raspberry pi :D If you don’t know what airplay is already, then this post most likely isn’t for you, but here is a definition from apple
Play content from your iPhone, iPad, iPod touch or Mac on your HDTV.
AirPlay lets you wirelessly stream what’s on your iOS device and Mac to your HDTV and speakers.1 Or mirror exactly what’s on your display to the big screen. Guests can even share their content with peer-to-peer AirPlay.2 Holiday photos, blockbusters, presentations, the latest games — AirPlay and Apple TV put it all on your TV.
To be able to Airplay from iphone or ipad to a linux target we need to setup a totem plugin on the linux machine. To do this, first, make sure you have totem player installed in your linux machine if you don’t have it already.
apt-get install totem
yum install totem
The next step is to clone the totem airplay plugin from github to the totem plugin folder in your own machine:
git clone https://github.com/phuang/totem-plugin-airplay
create the folders first if you don’t have them.
Next, open totem player.
Enable the airplay plugin from the edit > plugins configuration screen. You can now Airplay from iphone or ipad to linux!
There are various options available, the best source being here: