When adding a device in the management client, I want to link the device by adding a specific Driver like DemoDriver to the device item.
With the provided sample, DemoDriver, DemoDriverDevice works well for adding devices. But the camera I want to add cannot be added. Please let me know how to solve this problem.
The device to be interlocked is driven by general ONVIF, and
if select ONVIF when selecting a Driver, it will connect and add well.
I want to link the ONVIF camera with the Driver name I created.
In the documentation you can find how to deploy and how to run the Demo driver sample. If you have developed your own driver the steps should be the same.
If this does not work your driver might be incorrect. Please share the details on how you developed the driver and exactly how you are testing.
Important! There is a MIP Driver, this used by many samples (example Bounding Box Metadata Provider). This is a driver developed at Milestone and distributed with the regular device pack, this is NOT a driver that has been developed by use of the MIP Driver Framework! I wish we could have clearer naming to distinguish. I have made the assumption that you are not using MIP Driver but are developing your own driver using the Driver Framework.
ONVIF is just one protocol for communicating with cameras. It is supported by many cameras, but in general each camera could have its own protocol.
Milestone provides the ONVIF driver as part of the general device pack and you can use that for connecting an ONVIF-supporting device.
However, we do not provide source code for connecting to ONVIF devices. It is up to each developer to implement the protocol to be used with a specific device type. So if you want to develop your own driver that can connect using ONVIF, you will have to implement the protocol yourself. This could potentially be done with outset in the DemoDriver sample, but I would rather suggest to start from the MIP Driver template in VS.
But implementing ONVIF is not a small task, so please consider whether the Milestone ONVIF driver cannot cover your needs.