Although Apple says there can be bad interactions between this and live listen, so maybe there is some realtime monitoring happening.
https://support.apple.com/guide/iphone/check-your-headphone-...