Analytics Object Metadata is not displayed for specific existing camera resources
Hello,
I am developing a C++ Analytics Plugin for Nx VMS.
Environment:
- Server version: 6.1.0.42176
- Client version: 6.1.1.42624
The plugin pushes the following metadata types:
- ObjectMetadataPacket
- EventMetadataPacket
- ObjectTrackBestShotPacket
I am seeing an issue where Object Metadata is not displayed in the VMS UI only for some specific existing camera resources.
The affected camera resources are configured as RTSP streams that come from channels of another VMS system.
For comparison, I also tested a newly created camera resource using a TestCamera source/channel. With the same plugin code, Object Metadata and Best Shot are displayed normally on that test camera resource.
Summary:
1. For the affected RTSP relay camera resources, plugin-side logs show that metadata is generated and pushed.
2. Event Metadata from the same resources is recorded normally.
3. However, Object Metadata does not appear in the Objects list or in the Advanced Object Search window.
4. The newly created TestCamera-based resource works correctly with the same plugin code.
5. The VMS, Media Server, Desktop Client, and plugin have been restarted many times while testing plugin changes, but the affected existing resources still show the same behavior.
6. The affected RTSP relay camera resources used to display Object Metadata correctly, but at some point they stopped doing so. I do not know the exact trigger.
I enabled analytics metadata flow logging using the following ini file.
Media Server ini file:
C:\Windows\System32\config\systemprofile\AppData\Local\nx_ini\analytics_logging.ini
Content:
analyticsLogPath=<path to logs>
logObjectMetadataDetails=true
After restarting VMS, analytics log files were generated in that directory.
From comparing the metadata flow logs:
For the working TestCamera-based resource, logs are generated through the expected stages:
- outgoing_metadata
- analytics_event_receptor
- live_stream_provider
- widget_analytics_controller
For the affected RTSP relay resources, outgoing_metadata is generated and contains the object metadata pushed by the plugin, but the following stages do not seem to contain corresponding entries:
- analytics_event_receptor
- live_stream_provider
- widget_analytics_controller
So it looks like the plugin passes object metadata to the Media Server and it reaches the outgoing_metadata stage, but for these specific RTSP relay resources it does not continue through the rest of the internal metadata flow.
I understand that raw logs would be useful, but they contain information that is difficult to post in a public community forum. Sorry for that limitation.
Is there any known issue or limitation with Object Metadata for camera resources whose video source is an RTSP relay from another VMS system?
Also, if Event Metadata works but Object Metadata stops after outgoing_metadata only for specific camera resources, is there a recommended way to reset or repair that camera resource’s analytics metadata state?
Please sign in to leave a comment.
Comments
0 comments