Go to documentation repository
Documentation for Axxon One 1.0.
POST http://IP-address:port/prefix/grpc
Get current mode
Request body:
{ "method":"axxonsoft.bl.ptz.TagAndTrackService.ListTrackers", "data": { "access_point":"hosts/Server1/DeviceIpint.1/Observer.0" } }
where access_point is taken from the response to the ListCameras request in the tag_and_track parameter group (see Get video cameras list and their parameters using gRPC API methods (DomainService)).
Response example:
{ "mode": "TAG_AND_TRACK_EVENT_TYPE_AUTOMATIC", "trackers": [] }
Change PTZ mode
Request body:
{ "method":"axxonsoft.bl.ptz.TagAndTrackService.SetMode", "data": { "access_point":"hosts/Server1/DeviceIpint.1/Observer.0", "mode":"2" } }
where the mode parameter value defines the PTZ control mode (see Setting PTZ mode for Tag & Track Pro):
0 − disabled (TAG_AND_TRACK_EVENT_TYPE_OFF),
1 − manual (TAG_AND_TRACK_EVENT_TYPE_MANUAL),
2 − automatic (TAG_AND_TRACK_EVENT_TYPE_AUTOMATIC),
3 − user priority (TAG_AND_TRACK_EVENT_TYPE_USER_PRIORITY),
4 − manual PTZ control (TAG_AND_TRACK_EVENT_TYPE_USER_PRIORITY_MANUAL).
Overview
Content Tools