The recording fails because the relevant recording permissions are closed or occupied by other software. It is recommended that you try the following:
1. realme UI 4.0 & above settings: Settings > Search "Permission Manager" in the search bar > Microphone > Set the permissions of the application in the microphone.
realme UI 3.0 & 2.0: Settings > Privacy > Permission Manager > Microphone > Set the permissions of the application in the microphone.
realme UI 1.0: Settings > Privacy > App permissions > Microphone > Set the permissions of the application in the microphone.
realme UI R & T & S & Go edition: Settings > Search "Permission Manager" in the search bar > Microphone > Set the permissions of the application in the microphone.
2. It is recommended to clean up background programs to avoid malicious occupation by other third-party software in the background.