The signal strength of your Apple TV should be at least 4 or 5 bars. Make sure that your base station also supports the 802.11n wireless networking standard for best performance. Tip: Apple TV supports 802.11a, g, or n Wi-Fi networks.Make sure that not too many users are connected to avoid lags or interruptions. Running Airplay Mirroring on your Mac will send a lot of traffic through your Wi-Fi network. 2nd tweak: Improve Airplay's Wireless Network Performance.
Choosing the option 'Match Desktop Size To: Apple TV' from the Airplay menu the system will change your Mac's desktop resolution to fit the HDTV screen size even better (16:9 aspect ratio). Now that your Mac Airplay connection is working, here are some tweaks to improve the quality and your overall experience: Airplay Mac Tweaking: Optimizing Quality and Performance Tip: With AirPlay, you can also stream music and videos from your Mac iTunes to Apple TV directly without needing to have AirPlay Mirroring enabled.