Can you please explain your networks topology, Airplay uses Multicast traffic to advertise itself to devices and if this is blocked you will find it won't work.
I would start by putting the client device and AppleTV on the same subnet and confirm that works first. I always suggest starting with the basics first.
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.