feat: matrix stream example

This commit is contained in:
2025-10-02 21:36:46 +02:00
parent f3d99b174f
commit f78dd8b843
5 changed files with 250 additions and 7 deletions

View File

@@ -12,8 +12,8 @@ namespace ClusterProtocol {
constexpr const char* CLUSTER_EVENT_MSG = "CLUSTER_EVENT";
constexpr const char* RAW_MSG = "RAW";
constexpr uint16_t UDP_PORT = 4210;
// Increased buffer to accommodate node info JSON over UDP
constexpr size_t UDP_BUF_SIZE = 512;
// Increased buffer to accommodate larger RAW pixel streams and node info JSON over UDP
constexpr size_t UDP_BUF_SIZE = 2048;
constexpr const char* API_NODE_STATUS = "/api/node/status";
}