Commit Graph

254 Commits

Author SHA1 Message Date
Nick Mowen
abbc4d216b Add support for mse 2022-10-31 07:37:14 -06:00
Nick Mowen
ece06a6d80 Check for mounted file 2022-10-26 10:30:00 -06:00
Nick Mowen
0bd6b3971c Work with config 2022-10-26 07:33:27 -06:00
Nick Mowen
c82f5240b6 Fix tests 2022-10-24 15:52:18 -06:00
Nick Mowen
2a2adfaf20 Wait until camera source is loaded to avoid race condition 2022-10-24 15:34:59 -06:00
Nick Mowen
df81ccf505 make default undefined to avoid race condition 2022-10-24 15:17:02 -06:00
Nick Mowen
04373c4fc6 Fix tests 2022-10-24 07:50:38 -06:00
Nick Mowen
52d95e96cd Add selector for live view source in web view 2022-10-24 06:57:27 -06:00
Nick Mowen
d146db4588 Set max live size 2022-10-22 07:39:35 -06:00
Nick Mowen
adc287b8bc Only use jsmpeg sizes for jsmpeg live 2022-10-22 07:35:30 -06:00
Nick Mowen
e39cb5e2f4 Fix live sizes 2022-10-22 07:25:54 -06:00
Nick Mowen
fa5bb61700 Use live persistence for which view to use on each camera 2022-10-22 07:23:00 -06:00
Nick Mowen
3a4b358ea7 Remove live source 2022-10-22 07:18:26 -06:00
Nick Mowen
fc8b02c3c5 Adjust paths 2022-10-22 07:01:48 -06:00
Nick Mowen
97b314431d Set video source to null on cleanup 2022-10-21 09:57:30 -06:00
Nick Mowen
c6a1e5ab9f Close pc connection 2022-10-21 09:47:26 -06:00
Nick Mowen
6a204a839e Formatting 2022-10-21 09:45:28 -06:00
Nick Mowen
478d9b2eef Close websocket on changing camera 2022-10-21 09:44:05 -06:00
Nick Mowen
ba8fef842b Try memo instead 2022-10-21 09:41:12 -06:00
Nick Mowen
58abdf2a89 Fix passed deps 2022-10-21 09:35:01 -06:00
Nick Mowen
0e91b78780 Set url outside onEffect 2022-10-21 09:31:16 -06:00
Nick Mowen
89adc958cd Use onEffect 2022-10-21 09:28:11 -06:00
Nick Mowen
ae89e817a2 Support wss if made from https 2022-10-21 09:22:40 -06:00
Nick Mowen
94e74689d3 Support wss if made from https 2022-10-21 09:15:31 -06:00
Nick Mowen
febf88ab85 Cleanup 2022-10-16 16:04:30 -06:00
Nick Mowen
f1499f7811 Support webrtc 2022-10-15 14:04:54 -06:00
Nick Mowen
a3b21d448a Improvements to webRTC 2022-10-15 13:42:14 -06:00
Nick Mowen
7028de3612 Add webrtc player 2022-10-14 18:02:10 -06:00
Nick Mowen
000b76e13f Make mp4 the default streaming for now 2022-10-14 14:40:05 -06:00
Nick Mowen
fc68ebb312 Setup specific restream modules 2022-10-14 13:02:55 -06:00
Nick Mowen
8488f5a5ea Add base for webrtc option 2022-10-14 10:40:55 -06:00
Nick Mowen
a6867bf89b Adjust VideoPlayer to accept live option which disables irrelevant controls 2022-10-14 10:11:31 -06:00
Nick Mowen
2096701c79 Tweak player options to fit live view 2022-10-14 09:29:56 -06:00
Nick Mowen
8946f09eec Make view rspect live size config 2022-10-14 09:18:40 -06:00
Nick Mowen
6c95e78366 Make sure jsmpeg works as expected 2022-10-13 17:44:58 -06:00
Nick Mowen
0b08c254d3 Use go2rtc for camera config 2022-10-13 17:06:43 -06:00
Aksel Skauge Mellbye
faf583451f Recording: Fix z-index issue with recording playlist (#3762) 2022-09-20 06:05:43 -05:00
Aksel Skauge Mellbye
a6a0e4d1de Bring recording playlist in front of video.js modals
Ensure that the playlist doesn't get covered by video.js error messages,
preventing interaction.
2022-09-15 06:36:32 -05:00
Aksel
14faf0b2f6
Show snapshots on events page (#3763)
* Add tabs to show snapshot or thumbnail as part of event details,
  even if event has a clip available.
* Add ability for TextTab to render as disabled.
2022-09-15 06:35:51 -05:00
uvjustin
8c45dab9b8
Handle spaces in labels (#3679)
* Unquote label in flask routes
Encode label in Camera.jsx

* Don't use preprocessor

* Update nginx location for cacheable images
2022-08-25 07:32:30 -05:00
Nicolas Mowen
0d6dd1ed0f
Cleanup names of cameras, zones, & labels in the UI (#3708)
* Cleanup names of cameras, zones, & labels in the UI

* Fix tests to include camera name
2022-08-25 06:44:34 -05:00
Justin Wong
7c57c8c2da Use master playlist for videojs 2022-08-24 07:21:39 -05:00
Justin Wong
89c04acdff Bump videojs to 7.20.2
Bump videojs-seek-buttons to 2.2.1
Bump types/video.js to 7.3.44
2022-08-24 07:21:39 -05:00
Nicolas Mowen
2d5d3bdaf4
Wait for recordingSummary and recordings to be valid before playing (#3558)
* Wait for recordingSummary and recordings to be valid before playing

* Wait for recordingSummary and recordings to be valid before playing
2022-08-13 06:46:08 -05:00
JohnMark Sill
a67a768e89 improvement: better play/pause 2022-07-19 07:04:33 -05:00
JohnMark Sill
43f05c18d6 chore: remove unused import 2022-07-19 07:04:33 -05:00
JohnMark Sill
3b076c28c2 chore: removed unused properties interface 2022-07-19 07:04:33 -05:00
JohnMark Sill
cbf12e3f90 fix: removed unused state 2022-07-19 07:04:33 -05:00
JohnMark Sill
17b745434c improvement: migrated to videojs 2022-07-19 07:04:33 -05:00
JohnMark Sill
37011c2fda improvement: use useCallback instead of setting ref auto-magically 2022-07-19 07:04:33 -05:00