25 Commits

Author SHA1 Message Date
Cédric Verstraeten
730b1b2a40 Add WebRTC liveview signaling and UI fallback
Introduce structured WebRTC handshake signaling and client-side fallbacks. Changes:

- machinery: replace HandleLiveHDHandshake channel to carry LiveHDHandshake (payload + signaling callbacks) and expose active WebRTC reader count in dashboard data.
- routers: MQTT and WebSocket handlers now send/receive LiveHDHandshake structs; websocket supports stream-hd and webrtc-candidate messages and uses callback-based signaling to reply over the WS connection.
- webrtc: add helper functions to send MQTT or callback answers/candidates, adapt InitializeWebRTCConnection to the new handshake type, and expose GetActivePeerConnectionCount.
- utils: minor GetMediaFormatted filtering fix and unit test for timestamp range behavior.
- ui: Dashboard gains native WebRTC liveview with fallback to SD image stream, shows active listener count, and handles signaling/candidates; Media page adds datetime range filters, infinite-scroll append behavior, and styles; reducer/action updates to support appending events; package.json scripts disable ESLint plugin during start/build/test.

These changes enable browser-based HD liveviews with dual signaling paths (websocket callbacks or MQTT), improve media filtering, and provide graceful fallback to SD streaming when WebRTC fails.
2026-03-09 21:10:18 +01:00
Cedric Verstraeten
ecadf7a4db add realtime processing endpoint 2024-06-11 22:47:01 +02:00
Cedric Verstraeten
60e8edc876 add onvif verify option + improve streaming logic + reconnect websocket 2023-06-12 20:33:41 +02:00
Cedric Verstraeten
f935360fda add delay when failed uploading, send to different mqtt topic when no hub + fixes responsiveness 2023-03-23 16:19:01 +01:00
Cedric Verstraeten
71cd315142 disable MQTT message on motion + rework cloud upload (new option RemoveAfterUpload) + sidebar 2023-03-21 13:31:04 +01:00
Cedric Verstraeten
fece388ae9 first release of sending live view (sd) over websockets 2022-12-29 21:16:33 +01:00
Cedric Verstraeten
38ee070598 change opacity + add first version of language selector 2022-09-03 22:00:15 +02:00
Thomas Quandalle
72fefba530 add recordings page 2022-09-01 19:54:42 +02:00
Thomas Quandalle
efbf03858e fix live view + add total recordings + offline mode option 2022-08-29 22:33:55 +02:00
Thomas Quandalle
19a680cfd8 add MJPEG and live view on dashboard page (WIP)
snapshots are now stored in color instead of gray
2022-08-29 15:12:17 +02:00
Thomas Quandalle
e62ae2f770 fix for API url (port might be different) 2022-08-27 13:38:47 +02:00
Thomas Quandalle
2fb6625e9a fix prod build 2022-08-26 22:03:45 +02:00
Thomas Quandalle
a1c000e84f add a working settings page (Finally) 2022-08-26 18:01:18 +02:00
olokos
23b357e669 Fix build after 3debf62975
Because of missing imports and some undefined variables the latest code wouldn't compile.

I have fixed it.

The only thing I am not sure about is dispatchConfig: PropTypes.bool.isRequired
Not sure if it's truly bool or if this is valid, but it works finally again, but with proper log timezone!
2022-08-17 20:27:26 +02:00
olokos
4021c0dada No idea how those 2 got downgraded, but lets use the latest versions again 2022-08-17 11:50:02 +02:00
olokos
592e03fc3b Update most of go and javascript dependencies
There were some build issues, also eslint was preventing build because of too old react-scripts, that was in conflict with another requirement for more recent eslint, so I've updated react-scripts, so newer eslint isn't a problem anymore.
2022-08-15 18:11:40 +02:00
Thomas Quandalle
38d3f2e0d0 disable GENERATE_SOURCEMAP=false 2022-06-16 17:06:39 +02:00
Thomas Quandalle
23d4396c4d add UI baseline 2022-06-14 22:02:52 +02:00
Thomas Quandalle
1d1404a3ca aligned version with kerberos-io/ui 2022-06-10 08:45:48 +02:00
Thomas Quandalle
86bb1beb5b more fixes to get to a stable release 2022-06-08 18:46:14 +02:00
Thomas Quandalle
1f79bcfade integrate kerberos/ui 2022-06-08 16:33:21 +02:00
Thomas Quandalle
7908a4af7f update to kerberos-io/ui 1.58 + increase prettifier linting 2022-06-08 13:38:26 +02:00
Thomas Quandalle
4ec9b4f577 fix build 2022-06-05 22:49:15 +02:00
Thomas Quandalle
f0890471e5 upgrade node sass 2022-06-05 22:21:56 +02:00
Thomas Quandalle
8e9c1abfd3 move to UI repo 2022-06-05 21:36:22 +02:00