Integration with Nx Meta for Metadata Event Transmission
In ProgressHi,
We are looking to initiate the integration of our system with an Nx Meta server to send events along with metadata generated from our analytics, all developed in C++.
From what I’ve read in your documentation, such as:
The most logical approach to integrate with your system seems to involve the following steps:
- Implement a plugin using the Metadata SDK.
- From our server, connect to your server via the plugin we’ve previously created.
This architecture raises some questions:
- Is this architecture necessary, or is there a more elegant option?
- Is it mandatory to create a plugin (DLL), place it on your server, and connect through it?
- Is there any example code or specific resources that align with our requirements?
I’ve reviewed your example of a plugin with OpenCV-based analytics:
Introduction to Creating a Video Analytics Plugin
However, it doesn’t fully meet our needs since it lacks the HTTP connection component between the two servers.
-
Thank you for your question.
I would recommend starting with the cross-platform SDK, which provides several introductory resources and examples, including a sample for HTTP request/communication functionality that you may not have noticed is available.
Using the plugin, you can establish a connection between the Nx Media Server and external endpoints. For example, the Nx AI Manager plugin achieves this using the same approach and SDK. Maybe studying the cross-platform SDK will provide you with a foundation to have a deeper understanding.
To your questions:
1.Is this architecture necessary, or is there a more elegant option?
If the goal is to “implement a plugin using the Metadata SDK to connect to your server via the plugin,” then yes, this architecture is necessary.
2.Is it mandatory to create a plugin (DLL), place it on your server, and connect through it?
Yes, this is mandatory when using the MetaSDK. This architecture is a fundamental part of the plugin subsystem.
3.Is there any example code or specific resources that align with our requirements?
The cross-platform SDK contains relevant examples and resources. Once downloaded and unzipped, you’ll find samples that align with your requirements.
If you are not happy with the SDK in C++, there are also APIs and other tool for you. However, this may be a full external middleware or agent which working as a bridge between your server and Nx.
The API document is also available online already and could also provide the features may help.
You may use the Generic event built-in Nx as a start point, some articles are available here;https://meta.nxvms.com/docs/developers/knowledgebase/213-how-to-use-http-generic-events
https://meta.nxvms.com/docs/developers/knowledgebase/260-how-to-use-do-http-requests
https://github.com/networkoptix/nx_open_integrations/blob/master/python/examples/generic_event.pySince you look like on a POC stage, I may suggest you go with out 6.1 BETA which has our latest feature and API.
Thanks.
Please sign in to leave a comment.
Comments
1 comment