Note that while all iPhones running iOS 4.2 or newer support AirPlay, if you're using AirPlay with a Roku device or a smart TV that requires AirPlay 2, you'll need an iPhone running iOS 12.3 or later.
It allows you to mirror or cast content from your iPhone or iPad to an AirPlay-compatible smart TV, Apple TV, or certain Roku devices. Chromecasts, which use Google's Cast protocol, support ...