Cannot obtain the metadata track data stream from Milestone.

Our R&D guys want to know how to trigger the metadata track data stream from Milestone, Currently our R&D guys are not able to trigger the metdata track thus our device could not push the metadata track.

Attached wireshark capture file was captured during our test, below items are related to device:

a=control:trackID=4

a=rtpmap:107 vnd.onvif.metadata/90000

Details please refer to the attached full capture file.

Many thanks in advance.

We have a suspicion that the metadata might be disabled. Please show us details on your setup.

This is how it looks if the metadata is disabled (red cross)-

if this is what you see please enable it. If you see some thing different maybe you can show us the setup..

Dear Andersen,

Thanks for your feedback.​

When Dahua Camera added onto Milestone, we cannot see the item “Metadata” as per your above screenshot.

When Milestone send " GetServices " request to Dahua Camera, the camera replied that Metadata is supported, please see below:

ConfigurationsSupported=“VideoSource VideoEncoder AudioSource AudioEncoder AudioOutput AudioDecoder Metadata Analytics PTZ”/>

​Please also see attached capture file " filter_ONVIF.pcapng " for more details.

Please advice why the item “Metadata” did not displayed ?

Many thanks in advance.

Regards,

Herbert

I am posting this on behalf of the a developer colleague in the Driver Development team:

--

For the metadata channel to show up, there needs to be a Metadata configuration available in the response to GetProfiles.

Or if such is not available, GetMetadataConfigurations must return at least one configuration, then XProtect will try to add it to the media profile using AddConfiguration or AddMetadataConfiguration.

See GetProfiles in https://www.onvif.org/ver20/media/wsdl/media.wsdl

And Section 5.2.8 in https://www.onvif.org/specs/srv/media/ONVIF-Media2-Service-Spec.pdf

Dear Andersen,

Good day.

Our RD analyzed the answers that you provided, they still have some questions, would you please help to check again? Thanks so much:

  1. The request parameter contained in the GetProfiles issued by Milestone does not contain Metadata. Please check the screenshot as attached.

We think that this shows that Milestone don’t want to get the Metadata configration.

2, The attached file–GetProfiles_metadata.txt, whcih is the camera response when we simulate to send the GetProfilesResponse by ONVIF Device Test Tool, you can find that our camera response contain Metadata configration.

Waiting for your reply.

Thanks

I discussed your post with a driver developer colleague; according to the driver developer you are using an old device pack (“I see version Device Pack 9.5a in the wireshark trace.”). Please install the newest device pack and retest.

Dear Andersen,

Really thanks for your kind help, now we can check the metadata at Smart Client using DP 9.9b, thanks so much.

But I have one question: As you know, we are developing the plugin according to the MIP. but right now, we already can check the metatdata at Milestone client.

So, may I know that what functions we need to develop if we want to pass the plugin certifcation? Can you give some guidance and also some pictures example?

Thanks

The recording at our side.

Dear Xu Hui,

There’s no specific requirements for functionality or a list of features needed to pass a certification of a plugin to Milestone XProtect.

The plugin must work in or in connection with a Milestone VMS but that’s obvious.

Please mail us at SolutionCertification@milestonesys.com if you have specific questions on how to get your solution certified.

Best Regards

Peter Moller

Solutions Integration Engineer

Hi Bo & Per,

Really thanks for your kind help, currently we already developed a version that can pass the metadata to Milestone Client( Tripwire、intrusion)。

But currently, we want to add people counting event by plugin, we can not find this rule in Milestone server --"Manage Rule"​ list. So how Milestone server can transfer this event to Smart Client and display?

Just like following, whether it is possible to display Dahua customize event in Smart Client, such as we add the customization numbers of columns ? This is really very important for the next step, we are plan to develop LPR plugin and other plugin also, thanks

Could you please when raising a new question which is not really related to previous questions open a new thread or question in this forum? It will make a big difference for the usability of this forum.

Please see this document.

http://download.milestonesys.com/MIPSDK/Samples/TriggerAlarmFromExternal-ConceptSolution.pdf

This document has a lot of information about events, how to see them in the Smart Client etc., the events are in this case not originating within the driver, and I am unsure whether that is a good fit, are you seeking information on how to make events available in the device (through the device driver)?