@sentinel-nvr/web 0.21.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -43,6 +43,7 @@ on older servers, but only get their full behaviour with the matching plugin ver
43
43
  | 0.19.x | any (clip download: as 0.17.x) | immersive clip mode (`CameraPage appearance="immersive"`): the clip bar as a floating card with the edges as a segment, the picture edge to edge on phones; the clip bar's close button never wraps (both appearances); optional `icon` in front of the `EventsStrip` / `CameraGrid` titles. 0.19.1: below 900 px the immersive picture card is sticky (it cannot move), so that, according to WebKit's source, an iOS 26 home-screen app on an iPhone shows the status bar on the stage's background instead of blurring the top of the picture (pictures at least 90 % as wide as the screen). 0.19.2: camera tiles carry `data-nvr-camera` and hold the picture in one box (`.nvr-camtile__pic`); a tile that mounts again shows the camera's last picture (`.nvr-camtile__img--last`, also while the remembered image loads its next snapshot) until its own snapshot is decoded (`drawLastTileSnapshot` / `hasLastTileSnapshot` for a host's own pictures). Client only. |
44
44
  | 0.20.x | any (start picture: plugin with `features: ["frame"]`, older plugins keep the detection frame) | event click: the still picture until the video runs is the first picture of the playback (`api/frame`), so the video no longer jumps back when it takes over; `PlayerController.posterEvent(ts, start?)`. 0.20.1: a jump into a gap of up to 2 s between two recordings plays the next one instead of "no recording" (`clipAt`, `GAP_SNAP_MS`); MSE fallback: the next segment is fetched only after the previous one is appended (sporadic decode error) — client only. 0.20.2: while scrubbing the playhead moves at the speed of the picture (`relay-pos` `v`, plugin from 19.10.2026; older plugins: the former rate interpolation). |
45
45
  | 0.21.x | any (client only) | the style "Glas": entry `@sentinel-nvr/web/glas`, `ui/glas.css`, the Glas overview parts (`GlassCameras`, `GlassEvents`, `GlassNvr`, `GlassSections`), `Hero appearance="glass"`, the style rows in `AppearanceSection`. Without them every part renders as in 0.20.x. |
46
+ | 0.22.x | any (client only) | Glas: the settings section (`AppearanceSection`) as HAPulse's settings list, the choices as the Glas segment (`GlassSegment`, `.nvr-gl-seg`); "Auto" for the automatic language in every locale. |
46
47
 
47
48
  Lab note: Scrypted's WebRTC sink re-encodes (1280 px, 15 fps) for clients that are not Windows/macOS/iOS and report a
48
49
  screen below 1920 physical pixels, unless the source declares a width ≤ 1280. Plugin ≥ 1.2.0 declares it for recorded
@@ -108,8 +109,9 @@ The server keeps its own types; `docs/API.md` in the plugin repository is the co
108
109
  box `.nvr-camtile__pic` as first child (a host's transition between tile and camera page finds it there); opening
109
110
  goes through `nav.openCamera(id)` (tile) or `nav.openCamera(id, at, ev)` (event). `Hero appearance="glass"` is the
110
111
  status board (`.nvr-tafel`). `AppearanceSection` shows the style rows when the host passes `onUiStyle` (and in Glas
111
- `onGlassStrength`, `onReduceTransparency`); in Glas a hint replaces the theme cards. Without these props every part
112
- renders the markup of 0.20.x (test `classic-markup`).
112
+ `onGlassStrength`, `onReduceTransparency`); in Glas a hint replaces the theme cards, the choices are the Glas segment
113
+ (`role="radiogroup"`, `.nvr-gl-seg`, choose with Space/Enter or a click) and `ui/glas.css` draws the rows as HAPulse's
114
+ settings list (0.22.0). Without these props every part renders the markup of 0.20.x (test `classic-markup`).
113
115
 
114
116
  ## Develop
115
117