Skip to content

Commit d738e89

Browse files
Don't default to MotionAlarm for ONVIF events, empty should allow for ALL events
1 parent 2083c32 commit d738e89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zm_monitor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ void Monitor::Load(MYSQL_ROW dbrow, bool load_zones = true, Purpose p = QUERY) {
704704
// get alarm text from table.
705705
onvif_alarm_txt = std::string(dbrow[col] ? dbrow[col] : "");
706706
col++;
707-
if (onvif_alarm_txt.empty()) onvif_alarm_txt = "MotionAlarm";
707+
//if (onvif_alarm_txt.empty()) onvif_alarm_txt = "MotionAlarm";
708708

709709
/* "`ONVIF_URL`, `ONVIF_Username`, `ONVIF_Password`, `ONVIF_Options`,
710710
* `ONVIF_Event_Listener`, `use_Amcrest_API`, " */

0 commit comments

Comments
 (0)