E1.31 kill switch

unchecking "Receive UDP realtime" in Sync settings will immediately end realtime display, also over webSockets.
This commit is contained in:
Frank
2025-12-20 00:31:43 +01:00
parent c25f082231
commit 0d24bb3b73

View File

@@ -91,6 +91,8 @@ void handleE131Packet(e131_packet_t* p, IPAddress clientIP, byte protocol){
uint8_t* e131_data = nullptr;
uint8_t seq = 0, mde = REALTIME_MODE_E131;
if (!receiveDirect) { exitRealtime(); return; } // WLEDMM kill switch
if (protocol == P_ARTNET)
{
if (p->art_opcode == ARTNET_OPCODE_OPPOLL) {