I had the same problem with the Xiaomi 11. I thought it was a microphone issue, and now I have the same problem with a Xiaomi 13. Even after switching the ROM from MIUI to HyperOS. It only happens when recording from the camera. If I do a Facebook Live, Instagram, or WhatsApp video, the audio is good. I haven't been able to find a way to fix it either.