Commit Graph

2 Commits

Author SHA1 Message Date
noelorin 03c3d4d5bd feat: realtime rooms via SSE (global rooms/events)
- roomHub: add globalSubs + subscribeRooms/broadcastRooms, emit create/update/delete on createRoom/setTarget/removeTarget/setDistribution/clearDistributions/removeRoom
- gateway: handleRoomsEvents SSE (event: rooms, sync + 25s ping)
- server: GET /api/rooms/events (room:list)
- sse.ts: subscribeRooms with onState (onopen/onerror)
- rooms.tsx: subscribe + 350ms debounce reload, live badge + lastSync
- config_test: align ValidateDistributors permissive semantics (cdn占位不阻断)
- docs: document /api/rooms/events in business-logic & design
2026-08-23 23:19:12 +08:00
noelorin 1f422c7340 feat(proto): add distribution model srs-hls/cf/cdn 2026-08-23 13:56:31 +08:00