mtongnz / ESP8266_ArtNetNode_v2

ESP8266 based WiFi ArtNet to DMX, RDM and LED Pixels
GNU General Public License v3.0
606 stars 158 forks source link

Latency / delay #139

Open clrmsc opened 2 years ago

clrmsc commented 2 years ago

there is a delay of 1-2 seconds when you use all 1024 channels, the signal is not lost, there is some kind of buffer that fills up and plays it in the future. but it's very hard to do that live. give me some advice?

LoneWalkerWolf commented 1 year ago

Feel free to email me at alexander@expanseelectronics.com. I have unofficially taken over this project, as Matt seems to be offline / not contributing to this project anymore. We sell a version of this project on our website: expanseelectronics.com, and you are free to send us an email at any time with any further questions.

In response to your question: The delay is caused by the ESP8266 being a slow processor for receiving a lot of UDP streams. The way WiFi works on the ESP is that all incoming data is sent to a buffer (as you suspect), and then it is passed to the CPU when it has time to process them. I wouldn't suggest processing more than 512 channels over WiFi.

If you really do need 1024 channels, may I suggest looking at our Ethernet version of this project? It is available on our website, and a basic description is available here.