It's one part of it. If you must have that feature working the best option would be this card:
View attachment 562618
Some more relevant info about AirPlay you should know about.
Peer-to-peer AirPlay requires the following hardware:
- Apple TV HD with tvOS 9.0 or later, or Apple TV 4K with tvOS 11.0 or later
- iPhone, iPad, and Mac computers from late 2012 or later using the latest version of their operating system
Apple TV also contains a setting that allows you to choose—or manage with a mobile device management (MDM) payload—how users connect:
- Everyone can use AirPlay: Users connect over peer-to-peer or the infrastructure network to Apple TV.
- Anyone on the same local network can use AirPlay: Only users on the same local network can AirPlay to Apple TV.
- Off: AirPlay is disabled, and users won’t be able to AirPlay to Apple TV.