AirPlay

Stream audio and video from Apple devices to Apple TV, HomePod, speakers and smart TVs.

Introduced
2010
iOS 4.2
Kind
Platform feature
Runs on
Get it from
iOS
11.0+
iPadOS
11.0+
Mac Catalyst
13.1+
macOS
10.15+
tvOS
11.0+
visionOS
watchOS

Overview

AirPlay lets people stream audio and video from iPhone, iPad and Mac to Apple TV, HomePod, AirPlay-enabled speakers and receivers, and many smart TVs. AirPlay 2 adds multiroom audio, so the same music can play in sync across several speakers, and it also streams to a Mac and to TVs in select hotel rooms.

For developers, adoption needs only minimal configuration. AVFoundation has built-in AirPlay support for playback, and AVKit provides AVRoutePickerView so people can choose an output device. Audio apps that set the long-form audio route-sharing policy get AirPlay 2 buffering and multiroom playback.

Stream to TVs

Send video, photos and music to Apple TV or AirPlay-enabled smart TVs.

Multiroom audio

Play music in sync across HomePod and other AirPlay speakers.

System picker

AVRoutePickerView shows nearby AirPlay devices in a standard popover.

Long-form audio

The long-form audio policy gives apps AirPlay 2 buffering and multiroom play.

AirPlayButton.swift
import AVKit import SwiftUI struct AirPlayButton: UIViewRepresentable { func makeUIView(context: Context) -> AVRoutePickerView { let picker = AVRoutePickerView() picker.prioritizesVideoDevices = true return picker } func updateUIView(_ uiView: AVRoutePickerView, context: Context) {} }

History

How it grew up.

2010

AirPlay launches

iOS 4.2 adds AirPlay to stream music, video and photos to Apple TV.

2018

AirPlay 2

iOS 11.4 brings AirPlay 2 with multiroom audio and HomePod stereo pairs.

2019

Smart TVs

AirPlay 2-enabled Samsung smart TVs can play and mirror content from Apple devices.

2021

AirPlay to Mac

macOS Monterey lets iPhone and iPad play, present and share to a Mac.

2024

Hotel rooms

Over 60 IHG properties in North America add AirPlay to in-room TVs.