How to add a device to a driver created using MIP Drivers

Dear.

Hi~

I use the MIP Driver,

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.

please answer about my question.

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.

https://doc.developer.milestonesys.com/html/index.html?base=samples/pluginsamples/demodriver/readme.html&tree=tree_1.html

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.

Dear, Andersen

I proceeded in this Step..

1. build the provided DemoDriver

2.Paste the created def and dll files to the recording server

3. Restart recording server, run DemoDriverDevice.exe

4. Add device to DemoDriver from Management Client

DemoDriverDevice.exe is connecte well, but the ONVIF camera I want to add cannot be connected.

As I said before, this camera registers and works well when the driver is selected with ONVIF.

Please tell me how to connect this camera to DemoDriver.

If I understand your question correct the answer is that you cannot.

The Demo Driver sample shows a driver implementation that can work with one device only and that is the DemoDriverDevice.exe

You can develop your own driver using the driver framework and the sample should be an inspiration for you if you choose to do so.

Recommended read: https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_driverframework.html&tree=tree_1.html

Sorry, I’m late, I just checked your reply,

According to your reply, can’t create a driver that can register ONVIF cameras by editing DemoDriver.csproj?

If so, can you give me a MIP Driver sample code or project that can create a driver that can register the ONVIF camera?

I don’t know how I can make this with just the pages you provided.

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.