James Laird 5ed2af178a rtsp: send responses as single packets
Under some circumstances, RTSP responses would be split into multiple
packets. This causes Airfoil to barf, as it interprets the end of the
packet as the end of the response. Since TCP_CORK is not portable, this
fix buffers the packet on the stack before using a single write.
This fixes issue #213.
2013-08-25 22:27:51 +10:00
2013-06-21 11:57:57 +10:00
2013-06-21 11:57:57 +10:00
2013-04-01 23:04:54 +11:00
2013-04-01 23:04:54 +11:00
2013-06-20 18:30:42 +10:00
2013-06-20 01:06:08 +10:00
2013-06-20 01:06:08 +10:00
2013-06-20 18:30:42 +10:00
2013-04-01 21:43:24 +11:00
2013-06-04 01:31:46 +10:00
2013-06-04 01:31:46 +10:00
2013-06-20 17:02:56 +10:00
2013-06-20 00:28:17 +10:00
2013-06-04 01:31:46 +10:00
2013-06-04 01:31:46 +10:00
2013-04-08 19:58:16 +10:00
2013-06-20 18:30:42 +10:00
2013-06-07 01:47:27 +10:00
2013-04-02 21:32:56 +11:00
2013-08-25 22:27:51 +10:00
2013-04-01 18:57:08 +11:00
2013-06-20 18:30:42 +10:00

ShairPort

By James Laird (announcement)

What it is

This program emulates an AirPort Express for the purpose of streaming music from iTunes and compatible iPods and iPhones. It implements a server for the Apple RAOP protocol. ShairPort does not support AirPlay v2 (video and photo streaming).

Build Requirements

Required:

  • OpenSSL

Optionally:

  • libao
  • PulseAudio
  • avahi

Runtime Requirements

You must be running an mDNS (Bonjour) daemon. On a Mac, this will be running already. Otherwise, you must be running avahi-daemon or Howl.

How to get started

./configure
make
./shairport -a 'My Shairport Name'

The triangle-in-rectangle AirTunes (now AirPlay) logo will appear in the iTunes status bar of any machine on the network, or on iPod/iPhone play controls screen. Choose your access point name to start streaming to the ShairPort instance.

Audio Outputs

Shairport supports different audio backends. For a list of available backends and their options, run shairport -h. Note that options are supplied to backends at the end of the commandline, separated by --, for example:

shairport -o ao -- -d mydriver -o setting=thing

Thanks

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.

Contributors to version 1.x

Contributors to version 0.x

Known Ports and Tools

S
Description
No description provided
Readme
14 MiB
Languages
C 92.2%
C++ 3.7%
Shell 1.6%
M4 1.4%
Makefile 0.6%
Other 0.5%