Audio comes with a delay when AirPods are connected to the Mac (AirPods + Safari)
The problem occurs when I play a video using the Safari web browser. When I switch back and forth mac built-in output and AirPods. The audio from the video comes with a delay of about 1.5-2 sec. I can reopen the web browser and without switching the output method the audio starts instantly (how it is supposed to be) but as soon I switch the output it starts playing with a delay again and never become normal until I restart it once again.
Could somebody advise on that, please?
p.s. everything else works fine (eg. Spotify, Apple music, google chrome ... )
MacBook Pro 15″, macOS 11.4