I'm trying to implement a camera device server with onvif profile s standards using gsoap. on ws dynamic discovery, when I tried to run code in https://github.com/mpromonet/ws-discovery/blob/master/gsoap/server.cpp, Onvif device manager does not give any answer to my probematches message. I can see that I'm getting probe message, sending probematches messages but Onvif device manager simply neglects them. I'm made these parameter changes for my device:
const int _metadataVersion = 1;
static const char* _xaddr= "http://10.0.0.50:1881";
const char* _type="tdn:NetworkVideoTransmitter " "tds:Device " ;
const char* _scope=
"onvif://www.onvif.org/name/ru "
"onvif://www.onvif.org/hardware/hw "
"onvif://www.onvif.org/Profile/Streaming "
"onvif://www.onvif.org/location/ANY "
"onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/type/audio_encoder onvif://www.onvif.org/type/ptz ";
const char* _endpoint="urn";
I tried many parameters but I could not find the solution. What kind of changes do i need to make, in order to be discoverable by Onvif device manager?