shownotes_MCM20110812

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.
AirPlay Devices
  Senders
    iOS devices running 4.2 or later (iPod, iPhone, iPad) and iTunes
  Receivers
    Airport Express (audio), Apple TV 2 (video), 3rd party speaker systems
    Apple is licensing the audio and remote control portions to 3rd parties
  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
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
  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
  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.
  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.
  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.
    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.
  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.
Using AirPlay
  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.
  In iTunes
    Airplay icon in the bottom right corner
  Remote App
    Airplay icon on "Now Playing" screen.
  There are APIs open to developers for adding AirPlay support to their apps.
Future of AirPlay
  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.
  iOS 5 has a number of AirPlay updates specifically related to video
    Airplay support for FaceTime
    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
Cool Airplay Tricks
  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.
  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
  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.