Sonos with Airplay not working on Mac mini M1
I play music from the Music app on my Mac mini M1 over AirPlay to my Sonos One. Just after I've started my Mac, everything works great. If I stop playing music, and leave it for a while, it all stops working. I go back to Music to try and carry on playing music, AirPlay does not work.
What I've tried:
- Rebooting the Sonos. Doesn't work.
- Pressing play on the Sonos. Doesn't work.
- Trying a different Sonos. Doesn't work.
- Rebooting the Router. Doesn't work.
- Turning WiFi off and on, on the Mac. Doesn't work.
- If I reboot the Mac. It works.
This is clearly a rubbish solution. I can't restart my Mac every hour.
Help Apple! What can I (or you) do to fix this issue?
Mac mini, macOS 11.4