Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleNote

In some cases, the id of the created device may not coincide with the specified value of display_id in the request.

...

Creating the object tracker

Code Block
{
    "method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
    "data": {
        "changedadded": [{
             {
  "uid": "hosts/Server1",
              "uidunits": "hosts/Server1/DeviceIpint.199/VideoChannel.0/Streaming.0",{
                "type": "StreamingAVDetector",
                "properties": [
                    {
                        "id": "folderdisplay_name",
                        "value_string": "D:/VideoObject tracker"
                    },
                ],
    {                 "opaque_params": []
    
        }
        ]
    }

Creating the object tracker

Code Block
{
    "methodid":"axxonsoft.bl.config.ConfigurationService.ChangeConfig "input",
    "data":{
        "added": {
            "uidvalue_string": "hosts/Server1Video",
            "units": {
           "properties": [
    "type": "AVDetector",
                "properties": [
      {      
        {
                        "id": "displaycamera_nameref",
                                "value_string": "Object tracker"hosts/Server1/DeviceIpint.200/SourceEndpoint.video:0:0",
                    },
            "properties": [
       {                      
       {
                 "id": "input",
                        "value_stringid": "Videostreaming_id",
                        "properties": [
                        "value_string": "hosts/Server1/DeviceIpint.200/SourceEndpoint.video:0:0"
    {      
                          }
      "id": "camera_ref",
                         ]
       "value_string": "hosts/Server1/DeviceIpint.200/SourceEndpoint.video:0:0",
                    },            "properties": [
        
                            {
                                        "id": "streaming_iddetector",
                                        "value_string": "hosts/Server1/DeviceIpint.200/SourceEndpoint.video:0:0SceneDescription"
                                    }
                                ]
                    }
        },        ]
             }
        }
    }
}

Creating the motion in area detection tool under the object tracker

Code Block
{
        "method":"axxonsoft.bl.config.ConfigurationService.ChangeConfig",
    "data":{
        "added": {
            "uid": "hosts/Server1",
            "units": {
                "idtype": "detectorAppDataDetector",
                "properties": [
                "value_string": "SceneDescription"
   {
                         }"id": "display_name",
                        ]"value_string": "AppDataDetectorMoveInZone"
                    },
                    {          ]
            }

                }
    }
}

Creating the motion in area detection tool under the object tracker

Code Block
{
    "methodid":"axxonsoft.bl.config.ConfigurationService.ChangeConfig "input",
    "data":{
        "added": {
            "uidvalue_string": "hosts/Server1TargetList",
            "units            "properties": {
[
                            {   "type": "AppDataDetector",
   
                    "properties": [
           "id": "camera_ref",
        {
                        "idvalue_string": "display_namehosts/Server1/DeviceIpint.200/SourceEndpoint.video:0:0",
                        "value_string": "AppDataDetectorMoveInZone"
        "properties": [
           },
                    {      {
                
                        "id": "inputstreaming_id",
                                        "value_string": "TargetList",
hosts/Server1/AVDetector.1/SourceEndpoint.vmda"
                            "properties": [
       }
                     {      
     ]
                           "id": "camera_ref",
 },                     
              "value_string": "hosts/Server1/DeviceIpint.200/SourceEndpoint.video:0:0",
             {
                   "properties": [
            "id": "detector",
                       {
         "value_string": "MoveInZone"
                            }
  "id": "streaming_id",
                     ]
                   "value_string": "hosts/Server1/AVDetector.1/SourceEndpoint.vmda" }
                ]
            }
        }
    }
}

Changing a video folder for a virtual camera

Code Block
{
       "method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
    "data": {
        "changed": [
       ]
     {
                "uid": "hosts/Server1/DeviceIpint.199/VideoChannel.0/Streaming.0",
      },          "type": "Streaming",
          
        "properties": [
                    {
                                "id": "detectorfolder",
                                "value_string": "MoveInZoneD:/Video"
                            }
                        ],
                    }
                "opaque_params": []
            }
        }]
    }
}

Enabling/disabling the object

...