esp32-cam drops streaming after a while
Posted: Wed Jun 09, 2021 10:52 am
I have recently bought an AI thinker module ESP32-cam and I am trying to make it stream reliably to my network.
I have loaded the example and the esp32cam is working just fine, meaning that i get a jpg stream on my firefox web browser. If the module is connected to my serial port in my arduino IDE I get the mjpg stream info as well and everything looks good.
However after 3-8 minutes streaming stops for no apparent reason, both in the IDE serial port and web browser (with a broken frame). At the beginning I thought that this could be a wifi issue but it isn’t as the esp is still connected. Just in case i added some code for wifi re-connection in the loop.
Is there a possibility that the esp goes into sleep, without invoking such condition by the code? Is there another explanation for this behavior or any suggestions as to what to look for? Thank you
I have loaded the example and the esp32cam is working just fine, meaning that i get a jpg stream on my firefox web browser. If the module is connected to my serial port in my arduino IDE I get the mjpg stream info as well and everything looks good.
However after 3-8 minutes streaming stops for no apparent reason, both in the IDE serial port and web browser (with a broken frame). At the beginning I thought that this could be a wifi issue but it isn’t as the esp is still connected. Just in case i added some code for wifi re-connection in the loop.
Is there a possibility that the esp goes into sleep, without invoking such condition by the code? Is there another explanation for this behavior or any suggestions as to what to look for? Thank you