Skip to content

v1.0.13

Choose a tag to compare

@github-actions github-actions released this 25 Jun 23:46
· 1 commit to main since this release
471b072
feat(video): add Video page to stream the camera over HLS (#87)

* feat(video): add on-demand HLS Video page

Add a Video page to the web UI that plays the camera feed in the browser
over HLS (hls.js, with native HLS on Safari), retrying until the stream is
up. rtsp-server restreams its RTSP feed as HLS on tmpfs (submodule bump)
and nginx serves the segments at /video/hls/.

The restream runs on demand: the page heartbeats the gateway while it is
open and beacons stop when it closes, and the gateway keeps a lease file
fresh that rtsp-server polls, so the camera and encoder run only while
someone is watching. HLS is on by default now that idle cost is zero; set
[hls] enabled = false to disable the Video page. The config merge adds the
[hls] section to existing devices on upgrade.

* rtsp-server submodule