Airplay not working on Apple TV 1469
I tried to use Airplay with my MacBook Pro (which has the latest version of macOS) or my iPhone (which also has the latest version of iOS) but it's not working. The apps found the airplay I can do it but then the error that I can't read this file appears or I can't with the app Netflix from my iPhone. Then when I use my Macbook I use the Airplay directly to show the screen on the TV it works but then the video turns black. It worked tho with YouTube from Safari on my MacBook.
Can someone help, Apple TV has the latest version for his model A1469.
Thanks in advance
Apple TV (3rd generation)