airplay library

AirPlay on iOS: whether the player's video goes to an AirPlay device, and the system's AirPlay button.

Classes

AirPlayButton
The system's AirPlay button (AVRoutePickerView), video devices first; nothing off iOS. tint and activeTint colour its icon.
AirPlayRoute
AirPlay on iOS: the system moves the player's video to the TV; this says when it has, from the audio route, so the app can feed the player through a MediaRelay (the TV fetches the video itself, without the app's headers).
AirPlayState
Where the audio and video go now: an AirPlay device, by its name, or this device.