Onvif ptzStatus is not returning the location field.

TZStatus should return the following structure according to the spec:

<xs:complexType name=”PTZStatus”>

xs:sequence

<xs:element name=”Position” type=”tt:PTZVector” minOccurs=”0”/> <xs:element name=”MoveStatus” type=”tt:PTZMoveStatus” minOccurs=”0”/> <xs:element name=”Error” type=”xs:string” minOccurs=”0”/>

<xs:element name=”UtcTime” type=”xs:dateTime”/>

</xs:sequence>

</xs:complexType

I am getting the following returned through the Onvif bridge:{

“GetStatusResponse”: {

“PTZStatus”: {

“MoveStatus”: {

"PanTilt": "IDLE",

"Zoom": "IDLE"

},

“UtcTime”: “2018-09-12T19:08:56Z”

}

}

}

I am using a AXIS Q6045-E Mk II Network Camera.

I have all the permissions turned on for my user in the Onvif bridge. I suspect it is an issue with the device and not your software however I was wondering it you have a documented technique or experience I can use in determining why the position is not being reported. I have the correct version of the device pack installed for the camera I am using.

Hi Tim,

Position field is optional and and is returned only if StatusPosition field PTZ capabilities response is set to true. For Onvif Bridge is set to false. Please refer to ONVIF PTZ Service Spec: https://www.onvif.org/specs/srv/ptz/ONVIF-PTZ-Service-Spec-v261.pdf

Thanks Tsvetomira - is it possible to configure the onvif bridge to set the status position to true or is it hard-coded?

Hi Tim,

No it is not possible.

Regards,

Tsvetomira