Airplay connection from Mac to Apple TV fails at last step
Hello
I am experiencing a weird problem with Airplay. I am trying to Airplay my MacBookPro (mid2012 13 inch running MacOS Mojave 10.14.6) to an Apple TV and the process fails at the last step.
On the Mac, the AppleTV appears as an option in the Airplay Menu and in the Monitor systems preferences. The same problem happens when I try to use any of this option to connect.
When I select Apple TV in the Mac's menu, the TV wakes up and shows me a 4 digit code number that I have to type on my Mac. On the laptop's screen, I do get the dialog box where to type the 4 digits.
After typing the 4 digits on the Mac, I get another dialog box on the Mac's screen with states "Connexion to the AppleTV impossible".
I did reboot the Mac and the Apple TV, I checked the network settings and the firewall settings on the Mac. The only difference with all the recommendations that I have read is that my AppleTV is connected to a WifiRouter through an Ethernet cable, but not directly to the Wifi. But anyway, it is clear that the Mac and the Apple TV can communicate.
I did try to deactivate the Firewall, but it did not help.
I did try to connect the Mac to the same router as the Apple through Ethernet but it did not help.
I do have another MacBook, a 2015 15 inch Retina running nearly the same configuration with Mac OS 10.14.16 and it works !
We have two iPads an one iPhone at home and Airplay works with the same network configuration.
I have not used this specific MacBook with the AppleTV for a long time, but I remember it did work. It may have been before a recent system software upgrade.
What a weird problem, isn't it ?
Thank you for any help.
MacBook