Commit Graph
100 Commits
Author SHA1 Message Date
Cedric Verstraeten f634b98552 add environment variables to simplify deployment docker compose and kubernetes 2022-12-07 16:45:28 +01:00
Cedric Verstraeten e5c71bb6b2 Merge branch 'develop' 2022-10-20 21:32:12 +02:00
Cedric Verstraeten a021a9e332 broke the pre recording when setting substream 2022-10-20 21:31:56 +02:00
Cedric Verstraeten bb18fff7d9 Merge branch 'develop' 2022-10-20 17:45:51 +02:00
Cedric Verstraeten 9ed2873adb fix recording pre 2022-10-20 17:37:25 +02:00
Cedric Verstraeten f891ac375b change cursors 2022-10-20 15:16:15 +02:00
Cedric Verstraeten ecc7514d2b low+high res streaming, ptz and ONVIF capibilities tesing 2022-10-17 13:25:07 +02:00
Cedric Verstraeten 9f933ac9ed new way of computing the uptime 2022-09-29 17:16:49 +02:00
Cedric Verstraeten 16e4c68fb3 add data folder permission validation
agent will not boot up if not having any permissions
2022-09-20 21:37:35 +02:00
Cedric Verstraeten 784fe73a55 add verify connect method 2022-09-20 21:17:08 +02:00
Cedric Verstraeten 3a83ffc7b1 add verifycamera placeholder 2022-09-20 16:17:57 +02:00
olokos 9461fe8874 Improve recorded videos dasboard counter
Implemented new `util` function, which gets count of only `.mp4` extension.
This solves the problem of folders being counted as recordings on the dashboard.
2022-09-09 23:42:30 +02:00
olokos 56a2558ed8 Try removing GOP +1 2022-09-08 13:45:24 +02:00
olokos 0cb125720b Attempt to fix prerecording 2022-09-07 21:33:03 +02:00
olokos 0b12b7d118 Add logging for prerecording and MaxGopCount 2022-09-07 21:30:37 +02:00
Cédric Verstraeten 5f82a497ca Update main.go 2022-09-06 18:53:33 +02:00
Cedric Verstraeten 13a93d0432 add auto cleanup configuration 2022-09-05 14:05:46 +02:00
Cedric Verstraeten 68f1de2dbf optimise and make more accurate pre recording 2022-09-04 21:05:18 +02:00
Cedric Verstraeten 235641cf72 change restart order (on config) + hide time settings when disabled 2022-09-03 20:07:26 +02:00
Cedric Verstraeten ce4693cb0e add additional check 2022-09-02 15:27:59 +02:00
Thomas Quandalle a08728d119 prerecording was not take into account 2022-09-01 21:53:42 +02:00
Thomas Quandalle d50a888bdf Update IPCamera.go 2022-09-01 21:12:32 +02:00
Thomas Quandalle 72fefba530 add recordings page 2022-09-01 19:54:42 +02:00
Thomas Quandalle daed0ee33a when in offlineMode, mqttClient can nil + try something for disconnects 2022-08-31 16:25:44 +02:00
Thomas Quandalle fb7ef7aa97 update dashboard page, add breadcrumb buttons 2022-08-31 15:12:14 +02:00
Thomas Quandalle cdca6d77cb fix heartbeat + add kerberos hub connection kpi 2022-08-31 10:06:56 +02:00
Thomas Quandalle 10864fbfe4 move dashboard info to app.jsx 2022-08-30 19:26:03 +02:00
Thomas Quandalle 7423cb36ea fix errors here and there :) 2022-08-30 10:30:21 +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 dbaa2ddcbe add webrtc extra logging 2022-08-27 21:19:48 +02:00
Thomas Quandalle 6182594b6e enterprise agent depending how is running + github action worlflow failed 2022-08-26 21:19:07 +02:00
Thomas Quandalle e00b45037c add a random key when empty + add verification for hub and vault 2022-08-26 21:13:43 +02:00
Thomas Quandalle a1c000e84f add a working settings page (Finally) 2022-08-26 18:01:18 +02:00
Thomas Quandalle 6b9f25ef57 a few fixes for settings page + add sub rtsp url (WIP) 2022-08-22 10:50:10 +02:00
Thomas Quandalle 24c3b97629 remove double reading from channel 2022-08-21 20:34:15 +02:00
olokos 9ffd9700db Revert channel size back to 1
Having the size of 2 gives no profits, but creates a side effect of 1kb recording files being saved, because of message channel being blocked awaiting for the other parameter, giving unexpected results
2022-08-17 23:33:20 +02:00
olokos dac55e489a Merge remote-tracking branch 'upstream/develop' into develop 2022-08-17 11:44:31 +02:00
Thomas Quandalle 14e1584ca7 add timezone for logging 2022-08-16 22:59:51 +02:00
olokos fb20aa3bf5 Split filename source line into multiple lines, improve logging message 2022-08-15 18:39:41 +02:00
olokos 098bf0b75f Attempt to fix compilation 2022-08-15 02:52:04 +02:00
olokos 204359c6be MotionData: Implement saving changed pixels into filename
Attempt to fix saving changes detected into filename
models/MotionData.go is meant to be a model containing all of the data in regards to currently recorded video

Since I currently mostly need pixel changed saved in the filename properly, I've created 2 structs:

Partial= Timestamp + Changes working
Full= Everything - Not yet used but prepared for fully implementing the rest of data into the filename

Currently filename only saves proper timestamp and the rest is hardcoded, this is one step forwards to have it fully save a dynamic filename.
2022-08-15 02:15:39 +02:00
olokos d0d8531537 Change changeTreshhold parameter to pixelChangeThreshold 2022-08-14 01:23:43 +02:00
olokos 1b73f5857d Implement changesTreshold parameter and config.json
In case there is no changesTreshold defined in config.json, then treshold will be 75, to stick with original hardcoded value.
2022-08-13 19:52:19 +02:00
Thomas Quandalle 4d7baecb32 fix hub key for motion detection alert 2022-08-05 09:06:17 +02:00
Thomas Quandalle eacd341cc7 refactor and rename to usbcamera-test 2022-06-27 07:59:15 +02:00
Thomas Quandalle 00e62734c7 disable auto reconnect 2022-06-26 19:48:28 +02:00
Thomas Quandalle 2c577c4466 Bug: img might be null 2022-06-24 08:05:45 +02:00
Thomas Quandalle 02caa1d12f Fix: revert timings 2022-06-23 17:11:29 +02:00
Thomas Quandalle 5469f0bdea FIX: waiting a second instead 2022-06-23 17:09:08 +02:00