Not possible to record audio

After a while that the phone is on, if I try to record audio (via different apps, Telegram or Audio Record, or Messenger), there is no sound recorded in the output file.
A reboot fixes the issue so it must be a software issue.

A post was merged into an existing topic: Android 10: Reboot restores audio recording capabilities