Open uavana opened 6 years ago
did you give a change to the config file midgard.ini? There you should be able to change the resolution. (I personally haven´t tried but I added the parameters to change it..)
i have tried to change resolution in midgard.ini rtspd_basic cannot startup properly, then i execute rtspd_basic through ssh manually, it warned cannot scale down to 1280x720
also interested... 1080p is too big. I tried to find out how big is the LOW resolution stream in the original app. but so far i was not able to find it anywhere. when i have it i will try to set in midgard to see if I get low resolution in RTSP. BTW is the RTSP protocol passing resolution information to client? i can try to record pcap file in the router and decode it to get this info.
I took a look to the RTSP server code and some changes are required to support different resolutions. One day I might have time (not soon). If someone wants to try, let me know and I will forward the code if it is not already in this project.
New streams are required to be implemented ( one 50% ) New pulls, and new writes.
As I think this would be a great addition to my mijia-720p-hack project I would like to try to implement this.
like rtsp://CAMERA_IP/live/ch01_0 for 720p stream? sometimes 1080p is too big, and currently basic_rtsp can't support 720p param