Closed bandaangosta closed 9 months ago
Hi Jose,
The CPU should be fine there are no differences apart the form factor. The main difference is the PSRAM size. Maybe if the image size > 2Mb (pixels) things go wrong... There is an option not to use PSRAM, this can be tested. Maybe the API assumes 4Mb?
I myself have experienced issues with single core (when buying dual core) boards or 150 instead of 240Mhz boards. Maybe something similar?
Rene
Hi, rzeldent. Thanks for your reply. I tried with disabling the PSRAM, but the problem remains. I ordered a couple of more units of the ESP32 that works and will try again. Will comment again in a few weeks.
There are now easy configurable json definitions so you can fiddle/tweak the settings. This is now available in the develop branch. Maybe this works better for you...
Thanks, @rzeldent! It does work better and very stable with Onvier app as an RTSP camera. I will be using the develop branch until merged with main. I will close the issue. Just one question, did you remove support for the "flash" onboard LED?
Hi,
Thanks for testing! The led might have dropped out when moving to separate json files. You can try to add the led if you know the gpio, Let me know what works!
Hi, @rzeldent . Thanks for a great project. I'm running it on 3 ESP32-CAM devices, all cheap AI-Thinker clones. I use Onvier android app to monitor several cameras at home, 1 of them a ESP32-CAM with the esp32cam-rtsp firmware. For some reason, I have never been able to view the stream on VLC (3.0.16 on Linux Mint 21), although that is a secondary problem for me. On one device, it runs very solid and stable (streaming to Onvier for hours until I close the app). On the other two, after seconds/minutes, stream is interrupted with a "Disconnected: RES: 0, ERR: 128" error.
pio device monitor output on failure:
I have tried reducing resolution and fps. It seems to help somehow, but it fails nonetheless.
The main difference I see is that the ESP32 that works reports 4MB PSRAM, while the failing ones 2MB (although it should be 4MB according to the chip on board). CPU model is also different.
Works:
Does not work:
All ESP32s are very close to the wifi router, so it's not a signal power issue.
Any clues? Have you seen a similar behavior before?