Screen recording doesn't include sound?

How can I include sound in the screen recording? Not microphone sounds but system sounds. Turning on “include microphone sounds” records what’s coming out of the speakers but then you get a distorted secondhand sound.

Regain your privacy! Adopt /e/ the unGoogled mobile OS and online servicesphone

I can’t get screen recording to record sound (system or microphone) at all. Permissions are all granted… Tried it several times, but can’t get it to record any audio.

Did you ever have better luck?

For me it will record sound from the microphone if I click the cog on the right of the screen and turn on the option to include microphone sound in the recording