How to remove or hide camera side plugin?

Answered

Comments

3 comments

  • Avatar
    Sergey Yuldashev

    Hello Mike,

    Could you give us more details please?
    Do you mean camera side plugins like ones that are always enabled for Hanwha, Axis or Hikvision cameras?

    0
    Comment actions Permalink
  • Avatar
    Andrey Terentyev

    Hello Mike,

    There are several options on regard of "hiding" the plugins.

    The first one.

    Device Engine can declare a "deviceDependent" capability in manifest. In makes plugin not be shown in the list in "System Administration".

    The second one.

    Device Engine has the method "bool Engine::isCompatible(const IDeviceInfo* /*deviceInfo*/)"  in which you a developer can decide if the camera, represented by its IDeviceInfo interface is compatible or not. If it is not, the method should return FALSE, then DeviceAgent class instance will not be created for this particular camera and the plugin will not be shown on "Plugins" tab of "Camera Settings" windows. Note, since DeviceAgent class will not be created,  no video frames will be passed to the plugin.

    1
    Comment actions Permalink
  • Avatar
    Mike D

    The second option worked for me. Thank you Andrey.

    0
    Comment actions Permalink

Please sign in to leave a comment.