Plugin is not working

Answered

Comments

5 comments

  • Avatar
    Sergey Yuldashev

    Mohamed,

    > I followed official docs to familiar with plugins. using the docs I have create libstub_metadata_plugin.so.

    It is essential that a plugin must be built using the SDK version compatible with a certain Media Server software version. Most likely this is the case.

    Please make sure you use the same SDK pack build as your server version.
    E.g. if you use MetadataSDK for version 4.1.0 and try to put it to server version 4.0 it won't load. And vice versa.

    Let me know your Media Server full version(all numbers, like 4.0.0.29988) and I'll send you the correct MetadataSDK package to use with it.

    > 1. What is the use of libstub_metadata_plugin.so file?
    Quoting our knowledge base article, it demonstrates the usage and implementation of all Metadata (Analytics) SDK features.
    Literally all features of the MetadataSDK are shown there. E.g. it shows a feature of the moving objects bounding boxes. Of course the objects are virtual - nothing is actually detected.
    If you want to create your own plugin, you could take it as a basis, add your own code which will be for example detecting something and replace the "virtual" object detection data with the real one.

    > 2. where can I find code for libsample_analytics_plugin.so file?
    It is available in the metadata_sdk/samples/sample_analytics_plugin_src directory after you extract the archive.Once again, make sure you use the correct sdk version.

    But we have started to build it not so long ago.
    This recent MetaSDK release have it: https://meta.nxvms.com/downloads/30731

    0
    Comment actions Permalink
  • Avatar
    Andrey Terentyev

    Hello Mohamed,

    Probably, you could check this post as well. https://support.networkoptix.com/hc/en-us/community/posts/360042704974/comments/360010930934
    It might be your case.

    0
    Comment actions Permalink
  • Avatar
    Mohamed Thasin

    Thanks, the issue has been resolved

    0
    Comment actions Permalink
  • Avatar
    Mike D

    Sergey,

    I am using mediaserver version 4.0.0.29988. Can you please send me a link to download the correct SDK?

     

    0
    Comment actions Permalink
  • Avatar
    Andrey Terentyev

    Hello Mike D,

    You could try follow this topic pinned on the top of the Developer Forum Getting started with plugin development

    0
    Comment actions Permalink

Please sign in to leave a comment.