This article explains how to enable the extra permissions features needed for the recorder to work on Realme devices.
Users with realme 2c needs to scroll down in the developer options and find the "Disable Permission Monitoring".
And enable it, and you are good to go, you can start recording.
--------------------------------------------------------------------------------------
For realme pro 3 users
Go to developer options and enable these 3 options: