Stub Analytics Plugin builds successfully but is not detected by Nx Witness
Hello Nx Team,
I am developing an analytics plugin using the Nx Witness SDK.
Environment:
- Nx Witness Version: 6.0.6.41837
- SDK Version: 6.0.6.41837
- OS: Ubuntu Linux
Problem:
The stub analytics plugin builds successfully and generates:
libstub_analytics_plugin.so
However, Nx Witness does not detect or show the plugin in the Desktop Client.
What I have done:
1. Built the plugin using CMake successfully.
2. Copied the generated .so file into the Nx Witness plugins directory.
3. Restarted the mediaserver service.
4. Checked mediaserver logs.
Expected:
The analytics plugin should appear in Nx Witness.
Actual:
The plugin is not visible.
Logs:
sudo journalctl -u networkoptix-mediaserver.service -f
[sudo] password for doraemon:
Aug 05 14:37:19 doraemon-ASUS-TUF-Gaming-F15-FX507ZV4-FX507ZV4 systemd_mediaserver_start.sh[1455]: m_capabilities:deviceDependent
Aug 05 14:37:19 doraemon-ASUS-TUF-Gaming-F15-FX507ZV4-FX507ZV4 systemd_mediaserver_start.sh[1455]: Engine::Engine started
Aug 05 14:37:19 doraemon-ASUS-TUF-Gaming-F15-FX507ZV4-FX507ZV4 systemd_mediaserver_start.sh[1455]: [vca_edge_analytics_plugin_engine_{24763bac-59c0-b15f-ca79-42d2e9add07a}] ERROR: Requested setting "throwPluginDiagnosticEventsFromDeviceAgent" is missing; implying empty string.
Aug 05 14:37:19 doraemon-ASUS-TUF-Gaming-F15-FX507ZV4-FX507ZV4 systemd_mediaserver_start.sh[1455]: Engine::settingsReceived thread:0
Aug 05 14:37:19 doraemon-ASUS-TUF-Gaming-F15-FX507ZV4-FX507ZV4 systemd_mediaserver_start.sh[1455]: [dahua_analytics_plugin_engine] Created IEngine @0x79f7ed74e3c0 of dahua_analytics_plugin
Aug 05 14:37:19 doraemon-ASUS-TUF-Gaming-F15-FX507ZV4-FX507ZV4 systemd_mediaserver_start.sh[1455]: vivotek_analytics_plugin.ini (absent) To fill in defaults, touch /home/networkoptix/.config/nx_ini/vivotek_analytics_plugin.ini
Aug 05 14:37:19 doraemon-ASUS-TUF-Gaming-F15-FX507ZV4-FX507ZV4 systemd_mediaserver_start.sh[1455]: [vivotek_analytics_plugin_engine] Created IEngine @0x79f7ed56d350 of vivotek_analytics_plugin
Aug 05 14:37:19 doraemon-ASUS-TUF-Gaming-F15-FX507ZV4-FX507ZV4 systemd_mediaserver_start.sh[1455]: nx_build_info.ini (absent) To fill in defaults, touch /home/networkoptix/.config/nx_ini/nx_build_info.ini
Aug 05 14:37:19 doraemon-ASUS-TUF-Gaming-F15-FX507ZV4-FX507ZV4 systemd_mediaserver_start.sh[1455]: test_camera.ini (absent) To fill in defaults, touch /home/networkoptix/.config/nx_ini/test_camera.ini
Aug 05 14:38:13 doraemon-ASUS-TUF-Gaming-F15-FX507ZV4-FX507ZV4 systemd_mediaserver_start.sh[1455]: nx_p2p.ini (absent) To fill in defaults, touch /home/networkoptix/.config/nx_ini/nx_p2p.ini
I would like to know if any additional files are required, such as:
- manifest.json
- specific folder structure
- plugin registration steps
Thank you.
-
Hi
Thanks for your question, but it seems the procedure is not the recommended one.Can you please provide how you build the plugin and the screen recording if any (also your OS configuration and the build environment)?
I would like to know if any additional files are required, such as:
- manifest.jsonNo, not necessary, it is in STUB plug already.
- specific folder structure
No, it is a ready-to-run and one-click build via the build script.
- plugin registration stepsNo, just the copy then paste the *.so is OK.
And the version you used are kind of out-dated, please use the latest version of Nx Witness and the SDK , thanks for your understanding.
0
Please sign in to leave a comment.
Comments
1 comment