This article explains how to enable AirPlay on your iPhone to wirelessly stream data between your phone and other compatible devices on the same Wi-Fi network. AirPlay on an iPhone requires an AirPlay-compatible speaker system, an Apple TV, or an Airport Express hub.
How to use AirPlay to stream video or mirror your iPhone or iPad screen | Apple Support
To set up AirPlay on an iPhone, follow these steps:
Make sure both your iPhone and AirPlay receiver are turned on and connected to the same wireless network.
On iPhone, open the Control Center by swiping down from the top-right corner.