feature/streaming #10

Merged
master merged 6 commits from feature/streaming into main 2025-09-29 06:29:12 +02:00
Owner
No description provided.
master added 3 commits 2025-09-28 21:49:12 +02:00
ApiServer: add AsyncWebSocket at /ws; accept JSON {event, payload} (string or object) and dispatch via ctx.fire; mirror all local events to clients using NodeContext::onAny.\nNodeContext: add onAny subscriber API.\nNeoPatternService: add api/neopattern/color event to set solid color.\nCluster: centralize cluster/broadcast sending in core; services delegate.\nAPI: add generic /api/node/event and /api/cluster/event endpoints in respective services.\nTests: add ws-color-client, ws-cluster-broadcast-color, http-cluster-broadcast-color.\nDocs: add StreamingAPI.md; update README and test/README.\nFixes: robust WS JSON parsing on ESP8266 and payload handling.
Inject _origin=ws:<clientId> into JSON payloads on inbound WS messages and strip it on broadcast while skipping the origin client. Documents behavior in StreamingAPI.md.
master added 2 commits 2025-09-28 21:51:13 +02:00
master force-pushed feature/streaming from c03be4aa0a to 49fe0dabf4 2025-09-28 22:07:17 +02:00 Compare
master added 1 commit 2025-09-28 22:10:32 +02:00
Notes on heap fragmentation, UDP saturation, throttling/coalescing, buffer reuse, yielding, and payload sizing for reliable streaming/broadcast.
master merged commit dbb3b5bfd3 into main 2025-09-29 06:29:12 +02:00
master deleted branch feature/streaming 2025-09-29 06:29:12 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: iot/spore#10
No description provided.