Stream content with Home Sharing on Apple TV
You can stream music, movies, TV shows, photos, and other content from a computer, an iOS device, or an iPadOS device to your Apple TV. Both the device and Apple TV must be signed in with the same Apple ID, and both must have Home Sharing turned on.
Set up Home Sharing on Apple TV
Open Settings on Apple TV, then Go to Users and Accounts > Home Sharing.
Turn on Home Sharing, then enter your Apple ID and password.
To configure your devices, do any of the following:
Configure a Mac with macOS Catalina or later: On your Mac, choose Apple menu  > System Preferences, then click Sharing. Select the Media Sharing checkbox, then select the Home Sharing checkbox and enter your Apple ID and password.
Configure a Mac with macOS Mojave and earlier, or a Windows PC: In iTunes, go to File > Home Sharing and choose Turn on Home Sharing. Enter your Apple ID and password, then click Turn on Home Sharing.
Note: In Windows 7 and Windows 8, iTunes menus are hidden by default. To show them temporarily, press and hold the Alt key.
Configure an iOS or iPadOS device: In Settings on the device, go to Music or TV > iTunes Videos. Turn on Home Sharing, then enter your Apple ID and password.
Once you’ve configured all of your devices with the same Apple ID, open the Computers app on the Apple TV Home screen.
Libraries from your shared devices appear, and you can view or play content from any library.