Try to move your MacBook closer to your router or Apple TV, as signal strength can affect AirPlay performance. It might also be worth restarting your devices and router, or updating your software.