Isaac Connor
|
371b4a9761
|
Free up raw images once we are done with them in event.
|
2024-05-22 09:15:57 -04:00 |
|
Isaac Connor
|
937cc80b65
|
Free analysis image regardless of recording mode
|
2024-05-22 09:15:57 -04:00 |
|
Isaac Connor
|
e6f9dbae2e
|
move image_count to shared mem. Use it in monitorstream to detect when last_write_time % buffer_count hasn't changed, but there is in fact a new image.
|
2024-05-21 14:53:52 -04:00 |
|
Isaac Connor
|
d8112db6a1
|
Merge branch 'master' of github.com:ZoneMinder/zoneminder
|
2024-05-12 12:08:02 -04:00 |
|
Isaac Connor
|
0048a6bc99
|
Use quick_exit instead of exit to fix hanging processes when event start/top commands have an error.
|
2024-05-12 12:07:55 -04:00 |
|
Isaac Connor
|
7dc85ecfaa
|
Revert "Add zm_panic signal as a stronger version of zm_terminate. Basicaly tells things to not try so hard to clean up nicely. Don't do locking basically. Needed for fork/exec failure case."
This reverts commit 15df0487e0.
|
2024-05-12 10:26:19 -04:00 |
|
Isaac Connor
|
03e3d2245d
|
Remove the event summaries update as we havn't killed that trigger yet
|
2024-05-12 09:04:37 -04:00 |
|
Aaron Kling
|
402393f2ce
|
Set DiskSpace on event end
|
2024-05-12 08:57:50 -04:00 |
|
Isaac Connor
|
15df0487e0
|
Add zm_panic signal as a stronger version of zm_terminate. Basicaly tells things to not try so hard to clean up nicely. Don't do locking basically. Needed for fork/exec failure case.
|
2024-05-10 18:14:24 -04:00 |
|
Isaac Connor
|
5eb2a97fce
|
Set fps and bandwidth to 0 on zmc exit.
|
2024-05-09 09:48:01 -04:00 |
|
Isaac Connor
|
39575343ad
|
Use monitor->Importance when logging about failed captures
|
2024-05-08 14:45:27 -04:00 |
|
Isaac Connor
|
df29df0f0a
|
Handle ffmpeg 7 deprecations
|
2024-05-08 14:28:18 -04:00 |
|
Isaac Connor
|
bf14b5f2a7
|
ENsure that dts increases. Not enough to just == last_dts
|
2024-04-27 10:07:14 -04:00 |
|
Isaac Connor
|
90b5b1f154
|
Reduce time jump amount to 20seconds. We have many cameras that jump more than 20, but less than 40 and so the dts are accepted by reordering. Better to restart capture I think.
|
2024-04-07 11:30:22 -04:00 |
|
Aaron Kling
|
2b730601e0
|
Allow backtrace on non-x86 platforms
|
2024-04-05 16:27:49 -05:00 |
|
Isaac Connor
|
5e1596d9f5
|
Fix panning not working when paused. Also fixes SCALE. Fixes #3947
|
2024-04-05 09:32:05 -04:00 |
|
Aaron Kling
|
c4683d90a9
|
Format code using astyle google format
Commands used:
astyle --style=google --indent=spaces=2 --keep-one-line-blocks src/*.cpp
astyle --style=google --indent=spaces=2 --keep-one-line-blocks src/*.h
|
2024-03-26 13:43:58 -05:00 |
|
Isaac Connor
|
83cd5200b0
|
Free user if token is expired.
|
2024-03-25 09:56:10 -04:00 |
|
Isaac Connor
|
8e87fc2809
|
Add default values for ONVIF_EVENTS_PATH and ONVIF_Alarm_Text
|
2024-03-22 09:31:55 -04:00 |
|
Isaac Connor
|
a184f3adeb
|
Always restart the analysis thread. It is needed. Also free convert_context in Pause
|
2024-03-19 14:55:21 -04:00 |
|
Isaac Connor
|
92e6a9b5d0
|
Rough in startup_delay function
|
2024-03-18 12:54:30 -04:00 |
|
Isaac Connor
|
9eb3565483
|
Set reorder_queue size to 2*keyframe interval as 1* does not seem to be enough.
|
2024-03-15 12:11:22 -04:00 |
|
Isaac Connor
|
56fcd8472e
|
Fix motion events having cause continuous. Fixes #3858
|
2024-03-14 11:54:15 -04:00 |
|
Isaac Connor
|
07153f6773
|
Don't set snap score when skipping frames. Don't exit alarms when we havn't done motion detection. As a result, alarm_frame_count shouldn't cause immediate alarm anymore and because we aren't clearing prealarm frames, event recording should start
|
2024-03-12 21:22:58 -04:00 |
|
Isaac Connor
|
2981966b1c
|
Don't treat stream already exists as an error.
|
2024-03-05 16:20:16 -05:00 |
|
Isaac Connor
|
3bab238ee4
|
Limit score to 255
|
2024-03-04 17:54:25 -05:00 |
|
Isaac Connor
|
fb37cd3c30
|
Remove refs to event from Info because there might not be an event. Fix crash.
|
2024-03-04 17:31:06 -05:00 |
|
Isaac Connor
|
f5cdab131f
|
Include rc in debug
|
2024-03-04 14:13:41 -05:00 |
|
Isaac Connor
|
067ca68549
|
Add debugging of db failures
|
2024-03-04 13:20:21 -05:00 |
|
Isaac Connor
|
6f467dd0d4
|
Revert "regexp: port to pcre2"
This reverts commit fd09feb5f4.
|
2024-03-04 09:54:18 -05:00 |
|
Isaac Connor
|
b9da90522b
|
Wait forever until reconnect, the fallthrough case had us retrying the sql on a closed connection which may have led to a crash.
|
2024-03-04 09:32:15 -05:00 |
|
David Aguilar
|
fd09feb5f4
|
regexp: port to pcre2
Update pcre usage to be compatible with pcre2.
|
2024-03-02 17:19:08 -08:00 |
|
Isaac Connor
|
26231c4579
|
Return 0 if packet is not for video or audio stream
|
2024-03-02 11:19:27 -05:00 |
|
Isaac Connor
|
e4a2f9879e
|
Don't assume video if not audio, could be data
|
2024-03-02 11:00:03 -05:00 |
|
Isaac Connor
|
bb4858103d
|
Increase time jump to 40 seconds because Avigilon cameras seem to do this a lot
|
2024-03-02 09:58:22 -05:00 |
|
Isaac Connor
|
04017b20f1
|
Make recording=onmotion respect post_event_count
|
2024-02-29 09:02:07 -05:00 |
|
Isaac Connor
|
3eede7228c
|
Use Importance when logging about time jumping back too far
|
2024-02-27 17:39:52 -05:00 |
|
Isaac Connor
|
c5db82c082
|
Remove TAPE state.
|
2024-02-26 15:47:39 -05:00 |
|
Isaac Connor
|
e78c873944
|
Remove TAPE state.
|
2024-02-26 14:36:27 -05:00 |
|
Isaac Connor
|
2c7f83f96f
|
Merge pull request #3841 from ovargasp/master
Makes the "Events" part of the ONVIF URL configurable
|
2024-02-24 16:22:01 -05:00 |
|
Server
|
58d8cf0adf
|
Makes the "Events" part of the ONVIF URL configurable
as required per some ONVIF version 21.06 cameras
by default sets the Events Path equals to "/Events"
to maintain functionality
|
2024-02-24 11:05:08 -06:00 |
|
Isaac Connor
|
692e1ec745
|
Only allow loading user by only username if AUTH_RELAY=none. Log successful login as Debug
|
2024-02-24 07:54:40 -05:00 |
|
Isaac Connor
|
e1a141ed7d
|
Remove event_start_mode, not going to be used
|
2024-02-23 16:56:55 -05:00 |
|
Isaac Connor
|
06134c387b
|
Remove event_start_mode, not going to be used
|
2024-02-23 16:52:21 -05:00 |
|
Isaac Connor
|
5e704c3a1c
|
Remove event_start_mode, not going to be used
|
2024-02-23 16:51:13 -05:00 |
|
Isaac Connor
|
29d120f059
|
Add CLOSE_DURATION, remove EventStartMode
|
2024-02-23 16:50:57 -05:00 |
|
Isaac Connor
|
920568c704
|
Use switch instead of ifs and add CLOSE_DURATION as valid value
|
2024-02-23 16:50:44 -05:00 |
|
Isaac Connor
|
824d6ec032
|
Remove EventStartMode stuff
|
2024-02-22 16:58:03 -05:00 |
|
Isaac Connor
|
eeb8856157
|
Ad EventStartMode and EventCLoseMode to monitor
|
2024-02-22 10:46:36 -05:00 |
|
Isaac Connor
|
0d98b2523d
|
Split recording=ONMOTION and recording=ALWAYS logic out explicitly, even though it leads to redundant code, it should be easier to debug.
|
2024-02-22 10:39:38 -05:00 |
|