Hello Everyone,
Thank you in advance for reading this, I generally exhaust every resource I can find before consulting others specifically with my problems and I wouldn't make a post if I wasn't seriously stuck.
I am quite deep in a project where I am now trying to add a stable (preferably 20 fps with SVGA or similar) real time camera stream over a local network (distance of client and host are only about 5 meters in normal use case) to my system. The device controlling the camera feed should also be connected to communicate with an ESP32 chip which controls the main system of sensors.
Currently I have realised the camera feed with an ESP-32 cam module hosting a http webserver which is streaming the camera input in the MJPEG format. For the end device to view the camera stream and host the GUI I am using a mobile phone running on Android which I wrote an app for that can display that MJPEG stream and make http requests to the ESP32 cam module server which then communicates with the ESP32 chip to control the system (which I don't think is the best solution but I don't really have an idea how to do it differently since camera streaming is costly).
This way it works but the ESP32 cam module is quite instable at times, the quality could be better and due to hardware issues with the OV camera sensor (which I couldn't find a fix for yet) it gets hot quite fast which I really don't want. Now I am looking for alternatives like doing it with a RPI but I find the resources on this quite slim plus RPI seems to have latency issues with real time camera feeds in most sources that I found. I am really curious how industry professionals would go about this project.
So now I need general guidance if what and how I am doing it is somewhat in line with how professionals do it (really any advice is helpful) and how I can improve my system. And then also I would love to hear ideas on how to get a decent real time camera stream to work since this is the part of my project that is bugging me the most while everything else is generally working pretty well.
Again thank you very much for reading, I am greatful for every help I can get on this.