Configure ZM and camera to listen to ONVIF events. SOAP WSA COMPLIANCE = disabled
Disconnect the camera from the network.
After some time, turn the camera back on to the network.
ZM no longer listens to ONVIF events.
After the error appears
ONVIF Couldn't create subscription! HTTP Error, <html><body><h1>404 Not Found</h1></body></html> | zm_monitor.cpp | 1203
ZM stops listening for ONVIF events and does not start listening again after the camera comes online.
I have not studied the code in detail, but it is probably necessary to first check whether the camera is available on the network, then check the availability of the subscription and generate an ONVIF listening error only if the camera itself is accessible and there are problems with listening to events.
If the camera is not available on the network, of course there will be problems with ONVIF. And is it necessary to report this?
Also, after the camera appears on the network, it is necessary to resume checking the ability to listen to ONVIF events
Describe Your Environment
To Reproduce Steps to reproduce the behavior:
After the error appears
ONVIF Couldn't create subscription! HTTP Error, <html><body><h1>404 Not Found</h1></body></html> | zm_monitor.cpp | 1203
ZM stops listening for ONVIF events and does not start listening again after the camera comes online.I have not studied the code in detail, but it is probably necessary to first check whether the camera is available on the network, then check the availability of the subscription and generate an ONVIF listening error only if the camera itself is accessible and there are problems with listening to events. If the camera is not available on the network, of course there will be problems with ONVIF. And is it necessary to report this? Also, after the camera appears on the network, it is necessary to resume checking the ability to listen to ONVIF events