If we fail to get events, set healthy=false so that we reconnect. HikVision cam reports soap_fault_string=the parameter value is illegal detail=<env:Text>No pullmsg manager</env:Text> but a restart fixes it.

This commit is contained in:
Isaac Connor
2025-12-02 18:49:06 -05:00
parent 0e688c55cb
commit 3cb9539405

View File

@@ -221,7 +221,7 @@ void Monitor::ONVIF::WaitForMessage() {
soap->os = old_stream; // no longer writing to the stream
Debug(1, "Response was %s", ss.str().c_str());
// healthy = false;
healthy = false;
} else {
Debug(1, "Result of getting ONVIF PullMessageRequest result=%d soap_fault_string=%s detail=%s",
result, soap_fault_string(soap), detail ? detail : "null");