How to record internal audio (virtual sessions)?

Things I have tried

Team how to record internal audio (virtual sessions)?

I am using Macbook Pro, when recording NOT using my airpods (headphones) then recording works fine.

but when using the bluetooth headphones only my voice is getting recorded.

What I’m trying to do