Allforgot / OnvifClient_gSOAP

An ONVIF client base on gSOAP
16 stars 11 forks source link

Some function does not work. #1

Open kokawa2003 opened 3 years ago

kokawa2003 commented 3 years ago

I am using this project with some Hikvision cameras. Some camera works well. But some camera doesn't work if I run ptzBinding ,it said

Error: getConfiguraions Oops, something went wrong: SOAP 1.2 fault SOAP-ENV:Receiver["http://www.onvif.org/ver10/error":ActionNotSupported] "Optional Action Not Implemented" Detail: [no detail]

I think this error come from too old firmware of the camera. Can you tell me old implementation of this?

Allforgot commented 3 years ago

I am sorry but I haven't encountered such an error yet

kokawa2003 commented 3 years ago

I solved this . I tested ptzbinding sample. its sample's host URL is #define HOSTNAME "http://XXX/onvif/device_service" (common.h) but to use PTZ ,it must be http://XXX/onvif/PTZ ,and to use with mediabinding sample . it will be http://XXX/onvif/Media. its error found in onvif old version 's devide. New version's one is OK