Commit Graph

  • 3f7b9dfff7 fix cppcheck error about lo_x. Inner scope overwriting it. Isaac Connor 2022-01-10 17:36:45 -0500
  • 376d7fd7e5 log error if avcodec_parameters_to_context fails. Mostly to quiet cppcheck. Remove duplicated assignment to sample_fmt. Isaac Connor 2022-01-10 17:35:57 -0500
  • 78a10b6095 cppcheck fixes Isaac Connor 2022-01-10 17:35:11 -0500
  • 9f86fd3b16 add default_width and height to constructor Isaac Connor 2022-01-10 10:16:07 -0500
  • 4697e36f11 add explicit Isaac Connor 2022-01-10 10:14:03 -0500
  • 037771539d spacing, return a success value from setupCodec instead of using Fatal Isaac Connor 2022-01-10 10:13:53 -0500
  • b406bf8fd1 remove last_send_image_width/height. Not really useful or relevant Isaac Connor 2022-01-10 10:13:11 -0500
  • ed7bc7c4b4 whitespace Isaac Connor 2022-01-10 15:25:12 -0500
  • ec95c8da57 Rename the monitor type define from CURL to LIBCURL to fix namespace conflict Isaac Connor 2022-01-10 15:24:57 -0500
  • 3f7e4c67a0 Provide better logging when there is no data passwed to setAlarmCues Isaac Connor 2022-01-10 12:49:13 -0500
  • 947132284d When transitioning from ALERT to IDLE, close the event if CLOSE_MODE is IDLE as well as ALARM. Isaac Connor 2022-01-10 14:44:52 -0500
  • 701045393c fix typo Isaac Connor 2022-01-10 09:07:59 -0500
  • e9db12ca94 Fix importance got cutnpasted to where it shouldn't be Isaac Connor 2022-01-09 14:46:48 -0500
  • 21762585d9 rework getting second packet for de-interlace. Pass notesetmap by reference Isaac Connor 2022-01-09 14:42:15 -0500
  • 1f6874dd53 add explicit Isaac Connor 2022-01-09 14:41:48 -0500
  • f0c6413dc8 solve ccpcheck complaints Isaac Connor 2022-01-07 23:14:38 -0500
  • c832fabafd solve ccpcheck complaints Isaac Connor 2022-01-07 23:14:22 -0500
  • af8964c043
    Merge pull request #3406 from jp-bennett/master Isaac Connor 2022-01-08 15:19:51 -0500
  • 52b377ca86 Adds the 'closes_event" ONVIF option, to handle motionDetection message quirks. Jonathan Bennett 2022-01-08 14:05:57 -0600
  • a3c298ca93 Add nullptr checks to prevent a crash when in NODECT mode Jonathan Bennett 2022-01-08 13:17:04 -0600
  • a153798b47 fix init when no GSOAP Isaac Connor 2022-01-08 12:37:23 -0500
  • f01ecf2a16 Add libgsoap to dependencies Isaac Connor 2022-01-08 12:37:05 -0500
  • dc975daa7a init soap to null in constructor. Stop analysis thread before destroying soap. Isaac Connor 2022-01-08 12:21:29 -0500
  • c8bc0661b1 Have to clear src before resetting or some browsers won't load the new image Isaac Connor 2022-01-08 12:14:28 -0500
  • 36a493ad5e bump to 1.37.7 Isaac Connor 2022-01-07 16:35:52 -0500
  • a2a04edcf7 Only init gsoap if we are capturing Isaac Connor 2022-01-07 16:31:45 -0500
  • 71ff1e3cea Add translates for analyse button. Fixup styles Isaac Connor 2022-01-07 16:30:14 -0500
  • a679455a0b Merge branch 'master' into merge_work_on_zms Isaac Connor 2022-01-07 16:22:51 -0500
  • deaff43f66 use let/const Isaac Connor 2022-01-07 16:22:24 -0500
  • 8f372e6a6c Add useful title to frame image telling us which we are looking at Isaac Connor 2022-01-07 16:22:11 -0500
  • cfac99be4e better debugging when the row has no Id Isaac Connor 2022-01-07 16:21:49 -0500
  • 79c45f50d5 define raw as an empty array so we don't generate js errors Isaac Connor 2022-01-07 16:21:34 -0500
  • 038bff0df2 Add analyse button Isaac Connor 2022-01-07 16:06:53 -0500
  • 1a3bee102f analyze->analyse, fixup how we show enabled/disabled and start with analysis frame displayed Isaac Connor 2022-01-07 16:06:38 -0500
  • 939f165b22 rename analyze to analyse Isaac Connor 2022-01-07 16:05:52 -0500
  • 76fe20c69f Only send analysis_frame if doing motion detection. Add debuging. Remove other debugging Isaac Connor 2022-01-07 15:57:28 -0500
  • f4c813a26f Assign image to analysis_image before doing motion detection so there is always an image to see. Fix crash. Isaac Connor 2022-01-07 15:57:01 -0500
  • 7219809364 Add CMD_ANALYZE_ON/OFF Isaac Connor 2020-09-09 15:07:10 -0400
  • c914f00126 browser doesn't seem to like step=0.01 add analyze_frames button handling and update to jquery instead of mootools styles Isaac Connor 2020-09-09 15:06:49 -0400
  • 6f5eee6c0f Add show_analyze_frames function to tell zms to send analysis frames Isaac Connor 2020-09-09 12:09:23 -0400
  • df0a0c7853 Add CMD_ANALYZE_ON and OFF Isaac Connor 2020-09-08 17:41:36 -0400
  • 24bb43bbeb finish merge. Assign the alarm image to the shmem Isaac Connor 2022-01-07 13:16:51 -0500
  • 58858d2d25 Include alarm_image in shared_mem Isaac Connor 2020-09-08 16:24:14 -0400
  • 7ae9bebea4 Add analysis boolean query param Isaac Connor 2020-09-07 13:28:23 -0400
  • 8863fc0e0f Add FrameType to StreamBase so we can sends analysis frames Isaac Connor 2020-09-07 13:27:59 -0400
  • 16964cf327 fix zms running past end of event Isaac Connor 2020-09-07 13:27:33 -0400
  • 657fc5cad5 convert function to relevant capturing/analysing Isaac Connor 2022-01-07 11:52:19 -0500
  • 2ba0757fca Remove references to function, add Capturing_Strings, Analysing_Strings, Recording_Strings. Isaac Connor 2022-01-07 11:51:43 -0500
  • 5840602b6e
    Merge pull request #3404 from jp-bennett/master Isaac Connor 2022-01-07 10:35:32 -0500
  • 6d3c6330df Fix freebsd build by fixing incorrect use of SystemTimePoint when we want TimePoint Isaac Connor 2022-01-07 10:34:39 -0500
  • 1333d8c751 Adds ONVIF Motion Detection Support Jonathan Bennett 2022-01-04 11:58:19 -0600
  • c5ae080746 further replace function with recording/analysing. One result of this is we can be in ALERT/ALARM status without recording. Isaac Connor 2022-01-05 21:26:46 -0500
  • dadf53f99d Merge branch 'master' into multistream Isaac Connor 2022-01-05 20:20:45 -0500
  • 738c252948 load onvif settings and provide accessors Isaac Connor 2022-01-05 20:15:39 -0500
  • f7c90f5c41 Replace some function with recording == and analysis== Isaac Connor 2022-01-05 19:53:30 -0500
  • 99900e8c1d Merge branch 'master' into multistream Isaac Connor 2022-01-05 18:04:10 -0500
  • aefed4e174 Merge branch 'master' into multistream Isaac Connor 2022-01-05 18:03:44 -0500
  • bc67493f91 Alter log level of restart events based on Importance setting Isaac Connor 2022-01-05 16:49:20 -0500
  • bfac696fb7 return logger from loginit so that we can use it Isaac Connor 2022-01-05 16:49:00 -0500
  • cce24ea427 Add RTSPServer and Importance fields Isaac Connor 2022-01-05 16:48:46 -0500
  • 198ee73d0e Add alarm_cause to zm_packet. Clean up code dealing with decoding not being ready Isaac Connor 2022-01-04 17:38:25 -0500
  • a59e33d8b0 remove unused last_section_mod Isaac Connor 2022-01-03 19:14:27 -0500
  • b1353823cf clean up signal change code a bit, using new event notesetmap update function. So now when we lose signal, the event will close but it will have signal change :Lost added to it's notes. A new event will only be created if in RECORD/MOCORD. Isaac Connor 2022-01-03 19:04:21 -0500
  • 7215756fed Introduce a method update the noteSetMap after event creation (addNote). Isaac Connor 2022-01-03 19:03:04 -0500
  • 205ff6c033 apply fix to RtspServer Isaac Connor 2022-01-02 19:25:44 -0500
  • e2a81cc2c5 make max_score an int to get rid of the casts. Move assignment of it above the event UPDATE sql so that it is immediately accurate. Isaac Connor 2022-01-02 18:38:34 -0500
  • a76128e9c4 include monitor->Importance when logging failed camera connects Isaac Connor 2022-01-01 18:56:13 -0500
  • e73765c5bf add basic readthedocs config Isaac Connor 2022-01-01 17:55:28 -0500
  • 698fe14453 set zm_terminate instead of exit() so that all the cleanup code happens Isaac Connor 2021-12-26 15:19:13 -0500
  • a250567e74 add sleeping when no viewers and in ondemand mode multistream Isaac Connor 2022-01-01 17:54:47 -0500
  • 8c8a9ca32a Rework the logic around waiting for capture to be in both single jpeg mode and streaming. Isaac Connor 2022-01-01 17:54:20 -0500
  • fd489c2c8d Fix. Need to use system_clock Isaac Connor 2022-01-01 17:53:45 -0500
  • a66adb6dcd fix SteadyClock vs Systemclock issues Isaac Connor 2021-12-31 18:36:23 -0500
  • 6bd04de5f6 Merge branch 'master' into multistream Isaac Connor 2021-12-31 17:53:36 -0500
  • 2912256790 Add toggle_password_visibility option for MQTT password add_mqtt Isaac Connor 2021-12-29 18:25:44 -0500
  • b37c894ffc Add toggle_password_visibility which is used in options for MQTT password Isaac Connor 2021-12-29 18:25:21 -0500
  • 43b62db186 Style m onitor edit a bit Isaac Connor 2021-12-29 18:24:55 -0500
  • 5369b8e952 Add MQTT to Monitor edit. Isaac Connor 2021-12-29 18:24:41 -0500
  • fa8d5ec9e3 In working state. Auth now works Isaac Connor 2021-12-29 18:24:20 -0500
  • 498cb85f64 Add MQTT_Enabled. parse subscriptions, sucribe to them. Add mqtt messages for starting/ending events Isaac Connor 2021-12-29 18:24:02 -0500
  • 0f8684a9b9 Must preface config entries with ZM_ because we strip it out later Isaac Connor 2021-12-29 18:23:26 -0500
  • 034ca92937 Make zm_mqtt compile Isaac Connor 2021-12-29 13:20:07 -0500
  • 1f0f980e38 add update file for MQTT columns Isaac Connor 2021-12-29 13:19:50 -0500
  • 2efabe5c10 Put back MQTT_Enabled in Monitors Isaac Connor 2021-12-29 13:19:20 -0500
  • 2d8aa0801f Add MQTT tab. Rework code that spits out options lines to be easier to read. Isaac Connor 2021-12-29 13:15:20 -0500
  • fb8db3b046 Load mqtt subscriptions from db when loading monitor Isaac Connor 2021-12-29 13:14:08 -0500
  • 763209ce15 Fix password config type to be password in db Isaac Connor 2021-12-29 13:12:27 -0500
  • e10aa3e60e Add password as a config entry type Isaac Connor 2021-12-29 10:04:43 -0500
  • c3d2d5cdf6 Add MQTT_Subscriptions to Monitors Isaac Connor 2021-12-29 10:04:27 -0500
  • 5933aa8a6f Use > 0.0 instead of boolean when testing maxfps Isaac Connor 2021-12-28 15:34:31 -0500
  • e7a33a3dbe Add Importance to monitors view Isaac Connor 2021-12-28 13:51:47 -0500
  • 46b95e28ec Fix commas Isaac Connor 2021-12-28 13:51:36 -0500
  • 87962a3723 Invert Importance so that Normal is the auto-selected first value Isaac Connor 2021-12-28 13:48:37 -0500
  • e81384bba4 Fix fail to build Isaac Connor 2021-12-28 12:45:02 -0500
  • 0e148d809a cleanup logic and fix the zone names coming before the Motion: label Isaac Connor 2021-12-28 12:33:23 -0500
  • f9f8764507 Change Event->Cause to a TEXT instead of varchar(32) because we now inclue Alarmed Zone name and could include other info as well. Fixes #3403 Isaac Connor 2021-12-28 12:30:16 -0500
  • 76b8dd9ab2 Add MQTT_Enabled and MQTT_Subscriptions to Monitor object Isaac Connor 2021-12-26 15:20:43 -0500
  • 82a5f3a059 set zm_terminate instead of exit() so that all the cleanup code happens Isaac Connor 2021-12-26 15:19:13 -0500
  • bdcb7950cd Fix export from event view due to conflict with function name in skin.js Isaac Connor 2021-12-26 11:51:22 -0500
  • 2aacbf790a handle warning due to not defined last_run Isaac Connor 2021-12-21 20:24:28 -0500