I am trying to implement E1.31 control using the Photon. I have everything working fairly well, but I seem to be running into some sort of limit in the number of UDP packets/sec that the Photon can receive.
It seems that I am running into a limit of ~80 UDP packets per second. Or in E1.31 universe terms, ~7 universes. Once i start sending 8 or more universes worth of data, the packets seem to be dropped on the Photon.
I am using XLight/Nutcracker to send out the data. I have confirmed that Xlights is sending out 8+ universes of data if told to do so. You can setup Xlights by adding an E1.31 device and setting the info like this (changing to IP address to be the IP address of your Photon of course):
Once that is setup, you can go the the “Test” tab in Xlights. Select all. Change to RGB. Change to Chase 1/3 to get a good amount of data pumping. Then turn on the data output with the little lightbulb on the far right of the menu bar. Everything works fine with 6-7 universes of data. But once I add 8 or more, the latter universe data packets arrive very sporadically.
I have made a simple app to demonstrate my issue:
An interesting side note, I had this code up on running on a Core a couple months back by manually changing the UDP buffer size before that was natively supported and didn’t seem to have any problems.
Any ideas are greatly appreciated as to why I am hitting this limit.