Just FYI, I’ve had this issue only on my iPhone 12 Pro (iPhone 11 Pro did not exhibit this issue) but I am on my second 12 Pro because the mic/speaker went out on my launch day phone. Both exhibit the issue so it does not seem to be hardware based and a swap is unlikely to make an impact.