Apple TV Integration Woes

It worked for me when enabling ‘same network’ and disabling password under the AirPlay setting. AppleTV popped up pin when connecting remote