What should I do if the recording ends every time I leave the App real-time video page?
Please check if you are manually pressing the record button on down the real-time video page, if so, it is actually using your phone's screen recording function to screen record the live videos.
In this case, it will only work when you stay on the real-time video page.
We recommend you get an SD card for the camera, and it will be able to record in the background without manual operations.