wiki: camera live view — large view, Live/Snapshot switch, when the stream stops
Build & push images / images (push) Successful in 3m31s
Build & push images / images (push) Successful in 3m31s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RZgP5oMncSaVmKRKk1UvN4
This commit is contained in:
@@ -20,6 +20,21 @@ verified end to end against the two park-lab cameras through the real server and
|
||||
- A tile closes with ✕; which tiles are open is a **user preference** (restored on login).
|
||||
- A tile rests on the **latest entry/exit snapshot** of that camera; when the camera's vehicle
|
||||
events reach the booth, it shows **live video**.
|
||||
- (2026-11-17, second round) Live shows a **pulsing green LIVE badge**. A click on the picture opens a
|
||||
**large view** that streams **live on demand** — car or no car — with a **Live / Snapshot
|
||||
switch**, so a camera-started stream can be stopped to look at the last snapshot and a
|
||||
snapshot can be switched to live. Closing the large view returns the tile to automatic: a
|
||||
stream the user started stops; a stream the camera started carries on in the tile.
|
||||
|
||||
### When the stream stops
|
||||
|
||||
A tile streams while its camera is active — **30 s after the camera's last vehicle push**
|
||||
(`LANE_BUSY_TTL_MS`, shared with the lane lights; the camera re-pushes every 1–3 s while a car
|
||||
moves and every 15–25 s while it stands, so a waiting car keeps it live) — or while the large view
|
||||
is open on Live. It also stops on ✕, logout, or a dropped booth feed (resumes on reconnect). The
|
||||
camera session closes 5 s after the last viewer anywhere stops (RTSP TEARDOWN). No upper bound.
|
||||
The large live view is the 640×360 sub-stream scaled up; the Snapshot side shows the stored
|
||||
evidence still (full resolution when the camera's snapshot stream is Main).
|
||||
|
||||
## Decision
|
||||
|
||||
@@ -94,7 +109,9 @@ Headless Firefox against the server with both park-lab cameras and a simulated v
|
||||
footer chips open tiles bottom-right (≈ 15 % wide, first opened rightmost, next to its left), each
|
||||
resting on its camera's latest snapshot with direction and time; after the entry camera's push only
|
||||
the entry tile went **LIVE** (live OSD clock); a reload restored both tiles; ✕ closed one and the
|
||||
saved preference followed.
|
||||
saved preference followed. Second round: the large view on an idle camera streamed live on
|
||||
demand; Snapshot/Live switched both ways; closing it stopped the user's stream; on a camera-started
|
||||
stream, Snapshot in the large view stopped it and closing the view resumed it in the tile.
|
||||
|
||||
## Not yet verified
|
||||
|
||||
|
||||
Reference in New Issue
Block a user