Skip to content
UNOFFICIAL MIRROR - Airtunes emulator! Inactive, please use the albertz fork.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Shairport v0.03
James Laird <>
April 11, 2011

What it is
This program emulates an Airport Express for the purpose of streaming music from
iTunes and compatible iPods. It implements a server for the Apple RAOP protocol.

It probably supports multiple simultaneous streams, if your audio output chain
(as detected by libao) does so.

How to use it
1. Make sure avahi-daemon is running and the prerequisites are installed (see
2. Edit with your favourite text editor to set the access
point name and/or password, if desired.
3. `perl`

The triangle-in-rectangle Airtunes logo will appear in the iTunes status bar of
any machine on the network, or on iPod play controls screen. Choose your access
point name to start streaming to the Shairport instance.

Big thanks to David Hammerton for releasing an ALAC decoder, which is reproduced
here in full.
Thanks to everyone who has worked to reverse engineer the RAOP protocol - after
finding the keys, everything else was pretty much trivial.
Thanks also to Apple for obfuscating the private key in the ROM image, using a
scheme that made the deobfuscation code itself stand out like a flare.
Thanks to Ten Thousand Free Men and their Families for having a computer and stuff.
Thanks to wtbw.

0.01  April 5, 2011
        initial release
0.02  April 11, 2011
        bugfix: libao compatibility
0.03  April 11, 2011
        bugfix: ipv6 didn't work -
		IO::Socket::INET6 is required too

You can’t perform that action at this time.