Open HelloDB opened 5 years ago
please enable debug in the Arduino IDE to get more detailed log output. may the ESP is overloaded and you need to send the data at a lower rate, or implement a ACK and only send more data when you get the ACK.
I found that the LWIP_HIGHER_BANDWIDTH configuration of esp8266 can get faster speed, so I use esp8266 temporarily. I don't know if ESP32's continuous transmission capability is stronger. I will continue to test esp32 when using more pixel screens.
I have the same issue. I am constantly transmitting 4kB frames at a rate fo 30 frames per second. So roughly 120kB/second. It works for a while (20 seconds) but stops with the same error:
[E][WiFiClient.cpp:455] flush(): fail on fd 58, errno: 11, "No more processes"
void webSocketEvent(uint8_t num, WStype_t type, uint8_t * payload, size_t length) {
switch (type) {
case WStype_BIN: {
// do nothing
break;
}
void loop() {
webSocket.loop();
delay(10);
}
Arduino-System: Lolin32
I would also like to know what a possible fix could be. Thanks!
Can anyone help?
Even if you don't register a event listener this error happens.
I would shout pizzas and beers for a solution. :-)
Hi! Thanks for a great library. Trying to send image data quickly from WebSocket, but failed Is it feasible to send 50kbyte*15frame mjpg per second using esp8266 or esp32? Esp8266 takes about 0.3 seconds to transfer 50kb,Esp32 often reports an error during continuous transmission: "No more processes". First of all, how can I solve the problem of sending a single image? I would appreciate any help! Below is the test code: