Maccast Members 2011.08.12 -Airplay
V Intro
* Apple announced Airplay (formerly known as AirTunes) as part of the iOS 4.2 update in September 2010
* It's all based on the original Remote Audio Output Protocol (RAOP) which was what AirTunes used.
V AirPlay Devices
V Senders
* iOS devices running 4.2 or later (iPod, iPhone, iPad) and iTunes
V Receivers
* Airport Express (audio), Apple TV 2 (video), 3rd party speaker systems
* Apple is licensing the audio and remote control portions to 3rd parties
V There is also the ability to remote control AirPlay devices using the Apple Remote app for iOS.
* Now connect via Home Sharing account on the Apple TV and iTunes
* Under AirTunes you had to use a code.
* There is also some amount of meta data contained in the stream because devices can display Song titles, artists, album names, elapsed and remaining time, and album artwork on their displays
V How it works
* There are two types of signals audio and video
* Video support was added as part of the transition to AirPlay
* Original version used
V AirPlay is a proprietary technology, but was cracked by Jon Lech Johansen (DVD John) in 2004
* It basically uses 3 core technologies. UDP, RTSP, and AES Encryption
V User Datagram Protocol (UDP)
* Send messages (datagrams, packets) to another device on an IP network without an implicit handshake
* Doesn't require messages to arrive in order, they can be duplicated, or not be there at all.
* Used for audio and video streaming because dropping and resending is better than waiting.
V Real Time Streaming Protocol (RTSP)
* A network control protocol used to control streaming media servers.
* The protocol is similar to HTTP, but has "state". Provides and identifier for the stream so it can keep track of individual streams.
* Important, especially if it has to track multiple streams.
* Each stream actually uses 2 RTSP streams. One is a control channel and the other is the data stream.
V Advanced Encryption Standard (AES)
* This is part of the proprietary part of Apple's Airplay technology
* The the encryption scheme they use to protect the streaming data and ensure it can only go to approved AirPlay receivers.
* They use a public/private key system.
V In April James Laird, extracted and published Apple's private key extracted from an Airport Express ROM.
* ShairPort project is a sample software AirPlay receiver.
V Stream contents
* Every stream has an associated RTP timestamp and a sequence number along with the data packets
* There are also sync packets that are sent once per second or when adding a speaker.
V Using AirPlay
V On iOS
* Look for the AirPlay icon in the player of an app
* Double Tap to bring up the background processes and swipe to the left (double swipe on iPod and iPhone). Airplay next to the volume and playback controls.
V In iTunes
* Airplay icon in the bottom right corner
V Remote App
* Airplay icon on "Now Playing" screen.
* There are APIs open to developers for adding AirPlay support to their apps.
V Future of AirPlay
V AirPlay Mirroring is a feature in iOS 5 using the iPad 2.
* Open Airplay up to a number of Apps that don't officially support it.
* Safari and Web apps specifically.
V iOS 5 has a number of AirPlay updates specifically related to video
* Airplay support for FaceTime
V Mirror Video Out (as if you connected with the cable adapter)
* Allows to have different content displayed on Apple TV and the iPad
* Great for Gaming
* This feature may open Airplay to many apps and
V Cool Airplay Tricks
V Cool tools from Erica Sudun
* Worked under Snow Leopard, not sure on Lion compatibility
* BananaTV (AirPlayer), Transform your Mac into an AirPlay-compatible display.
* AirFlick, Serve files and URLs to Apple TV
* Bruce, Display time, day, local weather, RSS-feeds, or live screen shots on ATV, among other features
* AirVideo Client, Bare-bones way to watch your AirVideo Server-supplied video on a Mac.
V Use Remote App to stream audio to multiple rooms
* Need to run from an iTunes Library, but can send to multiple receivers
* Launch the remote app and connect to iTunes source and start playing a file
* Press the Airplay button and check each destination you want to send audio to
* Can control the volume for each device separately.
* If you have more the 1 Mac you can control different sources and send the audio to different destinations.
* AirView was a cool iOS app that made your device into a receiver
V Rogue Amoeba
* AirFoil can send audio from your Mac to a compatible AirPlay device
* They also offer AirFoil speakers for Mac or iOS that lets you send audio to those devices.