Airplay not working
I have an iPhone, iPad, MacBook Air and iMac. Airplay works fine on all of the devices except iMac. It worked fine for years but recently stopped working. I have two stereo systems and it works fine on one of the systems with Airport Express, but not the other with built in networking. (Yamaha RX-V58). If I reboot my iMac, it will work until I stop Music. Once stop a song, it will not play another song. I have to reboot the iMac again.
I have rebooted my network many times, tried wireless on the iMac and stereo, but no luck. What has me confussed is why it would work on everything except my iMac and the Yamaha receiver. The Yamaha receiver works with every device except the iMac. The iMac works with the Apple TV and the other stereo.
Any ideas would be appreciated. Also, I reinstalled Big Sur on my iMac. I've run out of ideas.