We have our AI Bridge up and running in Kubernetes, we have a camera connected successfully ANALYTICS_EVENTS working successfully.
We are having trouble with getting the metadata to work, this is what I have:
When we query the AI Bridge for the camera and the metadata topics, we successfully get:
{
"data": {
"metadataTopics": [
{
"appID": "28a6bc9a-0833-46c6-958e-19da4ee6d9e5",
"metadataFormat": "ONVIF_ANALYTICS",
"topicName": "plates",
"topicAvailability": {
"rest": "http://lpraibridge.anpr.lan:8382/metadata/28a6bc9a-0833-46c6-958e-19da4ee6d9e5/plates/onvif_analytics",
"kafka": "metadata.28a6bc9a-0833-46c6-958e-19da4ee6d9e5.plates.onvif_analytics",
"grpc": "grpc://lpraibridge.anpr.lan:8383"
}
}
],
"cameras": [
{
"videoStreams": [
{
"id": "ff2aba6d-4656-4e2f-8e86-d4c4f4ca1413/28dc44c3-079e-4c94-8ec9-60363451eb40"
}
],
"id": "ff2aba6d-4656-4e2f-8e86-d4c4f4ca1413"
}
]
}
}
But when we try and use REST to POST some metadata (dummy metadata) to the VideoStream ID listed in the query result above, nothing happens (as if AI Bridge is not recognizing that URL):
body:
<tt:MetadataStream xmlns:tt="http://www.onvif.org/ver10/schema">
<tt:VideoAnalytics>
<tt:Frame UtcTime="2023-12-18T19:42:59.397+00:00" SourceStreamID="ff2aba6d-4656-4e2f-8e86-d4c4f4ca1413/28dc44c3-079e-4c94-8ec9-60363451eb40">
<tt:Object ObjectId="1">
<tt:Appearance>
<tt:Class>
<tt:ClassCandidate>
<tt:Type>Vehicle</tt:Type>
<tt:Likelihood>0.86</tt:Likelihood>
</tt:ClassCandidate>
</tt:Class>
<tt:VehicleInfo>
<tt:Type>Car</tt:Type>
<tt:Brand>Ford</tt:Brand>
<tt:Model>Mustang</tt:Model>
</tt:VehicleInfo>
<tt:Shape>
<tt:BoundingBox bottom="0.46875" right="0.321875" top="0.515625" left="0.275"/>
<tt:CenterOfGravity y="0.298" x="0.492"/>
</tt:Shape>
</tt:Appearance>
</tt:Object>
</tt:Frame>
</tt:VideoAnalytics>
</tt:MetadataStream>
There is no response in Postman, there are no logs in the proxy pod regarding this, although the analytics events run successfully (i.e. connection is clearly being made).
Any ideas on how to start debugging?