# NLSS / DMP Video dashboard

Web dashboard for the NLSS video gateway, used by security installers and operators. It shows live multi-camera streams over WebRTC, a single-camera player with a timeline and archive playback, detection events with AI object recognition, a clip archive with export, and camera setup with ONVIF discovery.

- **Facts:** 2026, Built for a client, Completed, role: Team member
- **What I did:** I built most of the frontend: the dashboard UI and the Storybook component library. I also did the estimates and analysed the original client codebase. I led 1 other developer, who built the API.
- **Scope:** frontend
- **Domain:** security
- **Stack:** Next.js, React, TypeScript, Tailwind CSS, PostgreSQL, MySQL, WebRTC, Radix UI, React Hook Form, Zod, nuqs, Ultracite, ONVIF, Axios, T3 Env, Biome, pnpm, GitHub Actions, React Compiler, shadcn/ui, date-fns, WebSockets, OpenAPI, Storybook, Claude Code, Figma, Python, next-safe-action, dotenvx, Vercel
- **Page:** https://sergey-petrinich.vercel.app/work/nlss-dmp-video

Capabilities:

- Camera wall on one shared WebRTC connection, with video quality set by camera count
- Virtualized grid with drag and drop tiles, camera groups and a customize view dialog
- Multi-camera mode with a toolbar for all tiles and a layout kept in the URL
- Recorder-style player with frame stepping, J/K/L speed keys, zoom and pan, and a dual timeline with an event density bar
- Clip archive with a folder tree, grid and table views, filters, bulk move and delete, and clip export
- Detection events with merged groups, an event viewer, known entities and a PDF report
- Detection zone editor for polygons and rectangles over a live image
- Camera management with ONVIF discovery and a 7-step setup wizard
- Embed mode with a postMessage contract and JWT handoff, so the dashboard runs inside a host app
- 9 pages and 40+ UI components on Radix UI

Back to the [work archive](https://sergey-petrinich.vercel.app/work.md) · [CV](https://sergey-petrinich.vercel.app/cv.md) · [all of it in one file](https://sergey-petrinich.vercel.app/llms-full.txt)
