When playing a video in AVPlayer, when I put the AirPods in my ears, my player stops playing sound (but doesn't stop playing video), and the device is playing the system AirPods connection sound. And only after this sound ends, my player starts to play video's sound to the AirPods.
How to disable that AirPods' system sound and change output route to the AirPods immediately, like in the Podcasts and YouTube iOS apps?