Phase 1 foundation

LekoHoopCast foundation

This scaffold establishes the browser surfaces, session bootstrap, and shared domain contracts for a WebRTC-first basketball streaming platform. The next implementation slice is the authoritative event model and realtime scoreboard projections.

WebRTC-firstUp to 50 viewersOverlay in watch pageWi-Fi first with degraded uplink handling

Surface map

/controliPad scorer

Control Console

Create a game session, manage teams and rosters, score possessions, correct mistakes, and drive overlays.

/cam/:sessionCodeiPhone streamer

Camera Uplink

Publish the main game camera over WebRTC and surface uplink health, preview state, and live session diagnostics.

/clock/:sessionCodeiPhone OCR node

Game Clock OCR

Select a clock ROI, preview the crop, and later stream low-bitrate frames for server-side digit recognition.

/shot/:sessionCodeiPhone OCR node

Shot Clock OCR

Mirror the game-clock flow for the shot clock so anchors stay independent and confidence-scored.

/watch/:sessionCodeviewer

Viewer Watch Page

Play the live stream and render client-side overlays using derived game state rather than local business logic.

/adminorg admin

Admin

Manage organization defaults, branding, permissions, and overlay template lifecycle once the core loop is stable.

Next milestones

  1. Session bootstrap and SSE presence are now live.
  2. Implement immutable game events plus projections.
  3. Ship manual scoring and watch overlays before media ingest.
  4. Add camera publish and OCR nodes behind clean interfaces.