EdgeVisDecoderSDK::OnvifMetadata Class Reference

Detailed Description

Provides analytics data in ONVIF XML format: https://www.onvif.org/specs/srv/analytics/ONVIF-VideoAnalytics-Service-Spec-v210.pdf.

This data may originate from the MediaStream or the AnalyticsStream. Data from the AnalyticsStream may have been generated by an external ONVIF IP camera or by Digital Barriers edge analytics running on an Encoder.

Availability

Available in version 7.3 of Decoder SDK. Requires a server version greater than 7.0

#include <OnvifMetadata.h>

Public Member Functions

DB_EDGEVIS_SDK std::wstring Metadata () const
 Return ONVIF XML formatted analytics data. More...
 
DB_EDGEVIS_SDK int64_t Timestamp () const
 Return the timestamp associated with the ONVIF metadata. More...
 
DB_EDGEVIS_SDK std::wstring SourceStream () const
 Determine which stream produced this OnvifMetadata object. More...
 
- Public Member Functions inherited from EdgeVisDecoderSDK::StreamData
DB_EDGEVIS_SDK std::wstring TypeName () const
 Returns the type a StreamData this it. More...
 

Member Function Documentation

DB_EDGEVIS_SDK std::wstring EdgeVisDecoderSDK::OnvifMetadata::Metadata ( ) const

Return ONVIF XML formatted analytics data.

Returns
An ONVIF compatible XML string containing the metadata.
DB_EDGEVIS_SDK int64_t EdgeVisDecoderSDK::OnvifMetadata::Timestamp ( ) const

Return the timestamp associated with the ONVIF metadata.

Returns
Timestamp in UTC standard is milliseconds since 1/1/1970
DB_EDGEVIS_SDK std::wstring EdgeVisDecoderSDK::OnvifMetadata::SourceStream ( ) const

Determine which stream produced this OnvifMetadata object.

Returns
The name of the stream that produced this data. Valid values are MediaStream or AnalyticsStream

The documentation for this class was generated from the following file: