About firmware: If you have the same camera as I do, you can use the below firmware.
After that you can upgrade to v2.5.10.6 using the mobile app, then the ceshi.ini file to enable ONVIF.
Your camera will work well with ONVIF / RTSP, no more connect - disconnect - connect issue
Just be sure that...