-
Notifications
You must be signed in to change notification settings - Fork 206
Description
Hi,
I receive lots of messages "error sending udp packet" in the console.
When I turned on 'Core debug level: Error' I started to receive an explanation:
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 12
'12' in the errno.h means 'Out of memory'.
Frames are missing and there is constant 2 seconds delay all the time. The picture is not smooth.
CameraWebServer from Arduino examples works fine. Almost no delays. Stream is nice and smooth.
WEBSERVER also is really fast. No delay, no frames skipped.
What I have tried:
- I tried to connect to the camera from my desktop and from my phone, the result is the same.
- Also tried to comment out WEBSERVER part - it seams it doesn't influence on the memory usage.
- Use SOFTAP mode. The result is the same, so my network configuration is not a culprit.
Hardware: bought here https://www.aliexpress.com/item/32964004777.html
I use esp32cam_aithinker_config. Others don't work.
When I upload the program I use the following config:
ESP32 Wroover module
80MHz
Partition Scheeme: Huge APP (3MB no OTA)
Core debug level: Error
Any idea why this is happening and how to fix it?
Thanks.