Unhandled Error
Try to connect to a "V380" bought on AliExpress. It works with the V380 PRO App on iOS. Can also get the stream on VLC.
When i try to add the Cam to the OnvifDeviceManager it fails and I see this in the log:
INFO 25-08-31 22:34:35.148828 547918892544 onvif_app.c:338: Manually adding URL : 'http://192.168.8.132:554/onvif/device_service' INFO 25-08-31 22:34:35.148915 547918892544 onvif_device.c:403: Created Device: INFO 25-08-31 22:34:35.148928 547918892544 onvif_device.c:404: protocol -- http INFO 25-08-31 22:34:35.148939 547918892544 onvif_device.c:405: host : 192.168.8.132 INFO 25-08-31 22:34:35.148949 547918892544 onvif_device.c:406: port -- 554 INFO 25-08-31 22:34:35.148958 547918892544 onvif_device.c:407: endpoint : onvif/device_service INFO 25-08-31 22:34:35.148976 547918892544 onvif_device.c:126: [http://192.168.8.132:554/onvif/device_service] OnvifDevice__authenticate DEBUG 25-08-31 22:34:35.148990 547918892544 onvif_device_service.c:39: [http://192.168.8.132:554/onvif/device_service] Invoking http://192.168.8.132:554/onvif/device_service TRACE 25-08-31 22:34:35.300769 547918892544 onvif_base_service.c:216: [http://192.168.8.132:554/onvif/device_service] No time adjustment required. Camera in sync with client. ERROR 25-08-31 22:34:45.313172 547918892544 onvif_device_datetime.c:30: Invalid GetSystemDateTime response. ERROR 25-08-31 22:34:45.313448 547918892544 onvif_device_service.c:39: [http://192.168.8.132:554/onvif/device_service] Unhandled ERROR 2014338688 [http://192.168.8.132:554/onvif/device_service] ERROR 25-08-31 22:34:45.313609 547918892544 onvif_base_service.c:389: SOAP 1.2057224584 fault SOAP 1. [SOAP 1.] ERROR 25-08-31 22:34:45.313609 547918892544 onvif_base_service.c:389: "SOAP 1." ERROR 25-08-31 22:34:45.313609 547918892544 onvif_base_service.c:389: Detail: SOAP 1. ERROR 25-08-31 22:34:45.317160 547918892544 onvif_device.c:165: [http://192.168.8.132:554/onvif/device_service] OnvifDevice__authenticate - Failed to retrieve SystemDateTime [2014339776] ERROR 25-08-31 22:34:45.317269 547918892544 onvif_app.c:382: An soap error was encountered
I'm sorry to take so long to get back to you. This is most likely because this is not a ONVIF address.
The port 554 is most commonly used for the RTSP stream. So it looks like you are trying to add a raw video stream.
The ONVIF Specification expect a HTTP(S) service allowing to manage/configure the camera. You could try the default HTTPS port 443.
Also, ONVIF is commonly disabled out-of-the-box, so make sure the service is enabled first. There seems to be some unofficial documentation here and from the comments, it looks like the ONVIF port could be "8899"
From the link provided, it suggests executing the following command to test if the ONVIF service is running. (This is where I got the port 8899)
curl -v -H Content-Type: application/soap+xml -H Charset: utf-8 -d <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetDeviceInformation xmlns="http://www.onvif.org/ver10/device/wsdl"/></s:Body></s:Envelope> http://your ip:8899/onvif/device_service
Dont forget to change "your ip" in the command URL.
I tried "curl -v -H Content-Type: application/soap+xml -H Charset: utf-8 -d <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetDeviceInformation xmlns="http://www.onvif.org/ver10/device/wsdl"/></s:Body></s:Envelope> http://your ip:8899/onvif/device_service" and got:
bash: syntax error near unexpected token `<'
Update: changed to curl -v -H Content-Type: application/soap+xml -H Charset: utf-8 -d '<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetDeviceInformation xmlns="http://www.onvif.org/ver10/device/wsdl"/></s:Body></s:Envelope>' http://your ip:8899/onvif/device_service fixed it.
Good that you got the command figured out. Sorry I just copied it from the link.
Did you get an output to the curl command?
Did you try the ports I suggested? (e.g. 80, 443, 8899) I have some hopes for 8899.
If nothing works, try running the app with ONVIF_DEBUG enabled.
ONVIF_DEBUG=1 ./onvifmgr
This should dump the entire HTTP messgaes exchanged.