Peer-to-peer AirPlay requires a Mac device (2012 or later) running OS X 10.10 or an iOS device (2012 or later) running iOS 8 and an Apple TV third-generation rev A (model A1469) running Apple TV software 7.0.

If your device is connected to Wi fi network Please forgot the wifi network, wifi should be turned on don’t turn  off. But bluetooth can turned off.