feat: update to new cluster protocol

This commit is contained in:
2025-10-27 07:55:33 +01:00
parent 9d5d0e4d67
commit 7b2f600f8c
5 changed files with 361 additions and 29 deletions

View File

@@ -462,6 +462,7 @@ class LEDLabServer {
const frameData = stream.preset.generateFrame();
if (frameData) {
// Send to specific node
// frameData format: "RAW:FF0000FF0000..." (RAW prefix + hex pixel data)
this.udpDiscovery.sendToNode(nodeIp, frameData);
// Send frame data to WebSocket clients for preview