Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 3

...

Получение информации об устройстве

Code Block
{
    "method": "ITVaxxonsoft.bl.config.ConfigurationService.ListUnits",
    "data": {
        "unit_uids": [
            "hosts/Server1/DeviceIpint.10"
        ]
    }
}

Примет ответа:

Expand


Code Block
{
    "units": [
        {
            "uid": "hosts/Server1/DeviceIpint.10",
            "display_id": "10",
            "type": "DeviceIpint",
            "display_name": "",
            "access_point": "",
            "properties": [
                {
                    "id": "display_name",
                    "name": "Display name",
                    "type": "string",
                    "readonly": false,
          "value_string":           "value_string": "axis"
                },
                {
                    "id": "driverName",
                    "name": "Driver Name",
                    "type": "string",
                    "readonly": true,
                    "value_string": "Axis"
                },
                {
                    "id": "driverVersion",
                    "name": "Driver Version",
                    "type": "string",
                    "readonly": true,
                    "value_string": "3.0.0"
                },
                {
                    "id": "vendor",
                    "name": "Device Vendor",
                    "type": "string",
                    "readonly": false,
                    "enum_constraint": {},
                    "value_string": "Axis"
                },
        {
        {
                    "id": "model",
                    "name": "Device Model",
                    "type": "string",
                    "readonly": false,
                    "value_string": "P1343"
                },
                {
                    "id": "firmware",
                    "name": "Firmware version",
                    "type": "string",
                    "readonly": false,
          "value          "value_string": "5.06"
                },
                {
                    "id": "address",
                    "name": "IP Address of device",
                    "type": "string",
                    "readonly": false,
                    "value_string": "192.168.0.181"
        },
        {},
          "id": "port",
      {
        "name": "Port number",
          "typeid": "int32port",
          "readonly": false,
          "value_int32name": 80
        },
 "Port number",
          {
          "idtype": "useDefaultAuthenticationint32",
          "name": "Use default device credentials",
          "typereadonly": "bool"false,
          "readonly": false,
          "value_boolint32": false80
        },
        {},
          "id": "user",      {
          "name": "Login",
          "typeid": "stringuseDefaultAuthentication",
          "readonly": false,
          "value_stringname": "root"Use default device credentials",
        },
        {
          "idtype": "passwordbool",
          "name": "Password",
          "typereadonly": "string"false,
          "readonly": false,
          "value_stringbool": "pass"false
        },
        {},
          "id": "blockingConfiguration",
      {
       "name": "Preserve device settings",
          "typeid": "booluser",
          "readonly": false,
          "value_boolname": false"Login",
        },
        {
          "idtype": "geoLocationLatitudestring",
          "name": "Geolocation Latitude",
          "typereadonly": "double"false,
          "readonly": false,
          "value_doublestring": 35"root"
        },
        {},
          "id": "geoLocationLongitude",
      {
        "name": "Geolocation Longitude",
          "typeid": "doublepassword",
          "readonly": false,
          "value_doublename": 45
    "Password",
    },
        {
          "idtype": "geoLocationAzimuthstring",
          "name": "Geolocation Azimuth",
          "typereadonly": "double"false,
          "readonly": false,
          "value_doublestring": 0"pass"
          }
      ]},
      "units": [
          {
          "uid": "hosts/Server1/DeviceIpint.10/VideoChannel.0",
          "display_id": "0blockingConfiguration",
          "type": "VideoChannel",
          "display_name": "Preserve device settings",
                    "access_pointtype": "bool",
          "properties": [],
          "unitsreadonly": []false,
          "factory": [],
          "destructionvalue_argsbool": [],false
          "discoverable": false      },
          "status": "UNIT_STATUS_ACTIVE",      {
          "stripped": false,
          "opaque_paramsid": []"geoLocationLatitude",
          "assigned_templates": []
           }"name": "Geolocation Latitude",
          {
          "uidtype": "hosts/Server1/DeviceIpint.10/Microphone.0double",
          "display_id": "0",
          "typereadonly": "Microphone"false,
          "display_name": "",
          "accessvalue_pointdouble": "",
35
               "properties": [] },
          "units": [],      {
          "factory": [],
          "destruction_argsid": []"geoLocationLongitude",
          "discoverable": false,
          "statusname": "UNIT_STATUS_INACTIVEGeolocation Longitude",
          "stripped": false,
          "opaque_paramstype": []"double",
          "assigned_templates": []
          "readonly": }false,
          {
          "uidvalue_double": "hosts/Server1/DeviceIpint.10/Telemetry.0",45
          "display_id": "0",
     },
     "type": "Telemetry",
          "display_name": "",{
          "access_point": "",
          "propertiesid": []"geoLocationAzimuth",
          "units": [],
          "factoryname": [] "Geolocation Azimuth",
          "destruction_args": [],
          "discoverabletype": false"double",
          "status": "UNIT_STATUS_ACTIVE",
          "strippedreadonly": false,
          "opaque_params": [],
          "assignedvalue_templatesdouble": []0
        },
        {}
          "uid": "hosts/Server1/DeviceIpint.10/IO.0",
  ],
            "display_idunits": "0",[
          "type": "IO",      {
          "display_name": "",
          "access_pointuid": "hosts/Server1/DeviceIpint.10/VideoChannel.0",
          "properties": [],
          "unitsdisplay_id": []"0",
          "factory": [],
          "destruction_argstype": []"VideoChannel",
          "discoverable": false,
          "statusdisplay_name": "UNIT_STATUS_INACTIVE",",
          "stripped": false,
          "opaqueaccess_paramspoint": []"",
           "assigned_templates": []
          }"properties": [],
          {
          "uidunits": "hosts/Server1/DeviceIpint.10/Speaker.0"[],
          "display_id": "0",
          "typefactory": "Speaker"[],
          "display_name": "",
          "accessdestruction_pointargs": ""[],
          "properties": [],
          "unitsdiscoverable": []false,
           "factory": [],
        "status":  "destructionUNIT_STATUS_argsACTIVE": [],
          "discoverable": false,
          "statusstripped": "UNIT_STATUS_INACTIVE"false,
          "stripped": false,
          "opaque_params": [],
                    "assigned_templates": []
         }
       ]},
        "factory": [],
      "destruction_args": [], {
      "discoverable": false,
      "status": "UNIT_STATUS_ACTIVE",
      "strippeduid": false"hosts/Server1/DeviceIpint.10/Microphone.0",
      "opaque_params              "display_id": []"0",
      "assigned_templates": [
              "type": "502f5739-0b18-4852-891a-35aefbd85d7c"
Microphone",
         ]
       }
  ],
  "unreachabledisplay_objectsname": []"",
          "not_found_objects          "access_point": []
}

В свойствах поля units содержится следующая информация:

  • имя устройства,
  • производитель,
  • модель,
  • IP-адрес,
  • порт,
  • прошивка,
  • логин и пароль,
  • данные геолокации.

Дочерние объекты устройства (видеоканалы, потоки, микрофоны, динамики, телеметрия, датчики и реле) будут указаны в дочерних units.

Получение информации по дочерним объектам устройств

Пример запроса на получение информации о видеоканале:

Code Block
{
  "method":"ITV.bl.config.ConfigurationService.ListUnits",
  "data":{
    "unit_uids":["hosts/Server1/DeviceIpint.10/VideoChannel.0"]
      }
}

Ответ:

"",
                    "properties": [],
                    "units": [],
                    "factory": [],
                    "destruction_args": [],
                    "discoverable": false,
                    "status": "UNIT_STATUS_INACTIVE",
                    "stripped": false,
                    "opaque_params": [],
                    "assigned_templates": []
                },
                {
                    "uid": "hosts/Server1/DeviceIpint.10/Telemetry.0",
                    "display_id": "0",
                    "type": "Telemetry",
                    "display_name": "",
                    "access_point": "",
                    "properties": [],
                    "units": [],
                    "factory": [],
                    "destruction_args": [],
                    "discoverable": false,
                    "status": "UNIT_STATUS_ACTIVE",
                    "stripped": false,
                    "opaque_params": [],
                    "assigned_templates": []
                },
                {
                    "uid": "hosts/Server1/DeviceIpint.10/IO.0",
                    "display_id": "0",
                    "type": "IO",
                    "display_name": "",
                    "access_point": "",
                    "properties": [],
                    "units": [],
                    "factory": [],
                    "destruction_args": [],
                    "discoverable": false,
                    "status": "UNIT_STATUS_INACTIVE",
                    "stripped": false,
                    "opaque_params": [],
                    "assigned_templates": []
                },
                {
                    "uid": "hosts/Server1/DeviceIpint.10/Speaker.0",
                    "display_id": "0",
                    "type": "Speaker",
                    "display_name": "",
                    "access_point": "",
                    "properties": [],
                    "units": [],
                    "factory": [],
                    "destruction_args": [],
                    "discoverable": false,
                    "status": "UNIT_STATUS_INACTIVE",
                    "stripped": false,
                    "opaque_params": [],
                    "assigned_templates": []
                }
            ],
            "factory": [],
            "destruction_args": [],
            "discoverable": false,
            "status": "UNIT_STATUS_ACTIVE",
            "stripped": false,
            "opaque_params": [],
            "assigned_templates": [
                "502f5739-0b18-4852-891a-35aefbd85d7c"
            ]
        }
    ],
    "unreachable_objects": [],
    "not_found_objects": []
}


В свойствах поля units содержится следующая информация:

  • имя устройства,
  • производитель,
  • модель,
  • IP-адрес,
  • порт,
  • прошивка,
  • логин и пароль,
  • данные геолокации.

Дочерние объекты устройства (видеоканалы, потоки, микрофоны, динамики, телеметрия, датчики и реле) будут указаны в дочерних units.

Получение информации по дочерним объектам устройств

Пример запроса на получение информации о видеоканале:

Code Block
{
    "method":"axxonsoft.bl.config.ConfigurationService.ListUnits",
    "data":{
        "unit_uids":["hosts/Server1/DeviceIpint.10/VideoChannel.0"]
            }
}

Ответ:

Expand


Code Block
{
                    "uid": "hosts/Server1/DeviceIpint.10/VideoChannel.0",
                    "display_id": "0",
                    "type": "VideoChannel",
                    "display_name": "",
                    "access_point": "",
                    "properties": [
                        {
                            "id": "channel_id",
                            "name": "",
                            "type": "int32",
                            "readonly": true,
                            "value_int32": 0
                        },
                        {
                            "id": "display_name",
                            "name": "Display name",
                            "type": "string",
                            "readonly": false,
                            "value_string": "axis"
                        },
                        {
                            "id": "comment",
                            "name": "Comment",
                            "type": "string",
                            "readonly": false,
                            "value_string": ""
                        },
                        {
                            "id": "enabled",
                            "name": "Enable VideoChannel",
                            "type": "bool",
                            "readonly": false,
                            "value_bool": true
                        },
                        {
                            "id": "brightness",
                            "name": "",
                            "type": "int32",
                            "readonly": false,
                            "range_constraint": {},
                            "value_int32": 50
                        },
                        {
                            "id": "contrast",
                            "name": "",
                            "type": "int32",
                            "readonly": false,
                            "range_constraint": {},
                            "value_int32": 50
                        },
                        {
                            "id": "digitalPtz",
                            "name": "",
                            "type": "bool",
                            "readonly": false,
                            "value_bool": false
                        },
                        {
                            "id": "flickerfree",
                            "name": "",
                            "type": "string",
                            "readonly": false,
                            "enum_constraint": {},
                            "value_string": "auto"
                        },
                        {
                            "id": "imageFlip",
                            "name": "",
                            "type": "int32",
                            "readonly": false,
                            "enum_constraint": {},
                            "value_int32": 0
                        },
                        {
                            "id": "maxZoom",
                            "name": "",
                            "type": "int32",
                            "readonly": false,
                            "enum_constraint": {},
                            "value_int32": 250
                        },
                        {
                            "id": "saturation",
                            "name": "",
                            "type": "int32",
                            "readonly": false,
                            "range_constraint": {},
                            "value_int32": 50
                        },
                        {
                            "id": "sharpness",
                            "name": "",
                            "type": "int32",
                            "readonly": false,
                            "range_constraint": {},
                            "value_int32": 50
                        }
                    ],
                    "units": [
                        {
                            "uid": "hosts/Server1/DeviceIpint.10/VideoChannel.0/Streaming.0",
                            "display_id": "0",
                            "type": "Streaming",
                            "display_name": "",
                            "access_point": "",
                            "properties": [],
                            "units": [],
                            "factory": [],
                            "destruction_args": [],
                            "discoverable": false,
                            "status": "UNIT_STATUS_ACTIVE",
                            "stripped": false,
                            "opaque_params": [],
                            "assigned_templates": []
                        },
                        {
                            "uid": "hosts/Server1/DeviceIpint.10/VideoChannel.0/Streaming.1",
                            "display_id": "1",
                            "type": "Streaming",
                            "display_name": "",
                            "access_point": "",
                            "properties": [],
                            "units": [],
                            "factory": [],
                            "destruction_args": [],
                            "discoverable": false,
                            "status": "UNIT_STATUS_ACTIVE",
                            "stripped": false,
                            "opaque_params": [],
       
Expand
Code Block
{
          "uid": "hosts/Server1/DeviceIpint.10/VideoChannel.0",
          "displayassigned_idtemplates": "0",[]
          "type": "VideoChannel",
             "display_name": "" },
            "access_point": "",
          "properties": [{
             {
               "iduid": "channel_id",
hosts/Server1/DeviceIpint.10/VideoChannel.0/Detector.motion_detection",
                            "namedisplay_id": "motion_detection",
              "type": "int32",
              "readonlytype": true"Detector",
              "value_int32": 0
               }"display_name": "",
            {
                "idaccess_point": "display_name",
              "name": "Display name",
              "typeproperties": "string"[],
              "readonly": false,
              "value_stringunits": "axis"
[],
                 },
            {
 "factory": [],
             "id": "comment",
              "namedestruction_args": "Comment"[],
              "type": "string",
              "readonlydiscoverable": false,
               "value_string": ""
            }"status": "UNIT_STATUS_INACTIVE",
            {
                "idstripped": "enabled"false,
              "name": "Enable VideoChannel",
              "typeopaque_params": "bool"[],
              "readonly": false,
              "valueassigned_booltemplates": true[]
            },
            {},
                "id": "brightness",
          {
            "name": "",
                "typeuid": "int32hosts/Server1/DeviceIpint.10/VideoChannel.0/Detector.tampering_detection",
              "readonly": false,
              "rangedisplay_constraintid": {}"tampering_detection",
              "value_int32": 50
               }"type": "Detector",
              {
              "iddisplay_name": "contrast",
              "name": "",
              "typeaccess_point": "int32",
              "readonly": false,
              "range_constraintproperties": {}[],
               "value_int32": 50
              }"units": [],
              {
              "idfactory": "digitalPtz"[],
              "name": "",
              "typedestruction_args": "bool"[],
              "readonly": false,
              "value_booldiscoverable": false,
             },
                {"status": "UNIT_STATUS_INACTIVE",
              "id": "flickerfree",
              "namestripped": ""false,
              "type": "string",
              "readonlyopaque_params": false[],
              "enum_constraint": {},
              "valueassigned_stringtemplates": "auto"
     []
       },
            {
     },
         "id": "imageFlip",
              "name": "", {
              "type": "int32",
              "readonlyuid": false"hosts/Server1/DeviceIpint.10/VideoChannel.0/Detector.audio_detection",
              "enum_constraint": {},
              "valuedisplay_int32id": 0"audio_detection",
            },
            {
              "id"type": "maxZoomDetector",
              "name": "",
              "typedisplay_name": "int32",
              "readonly": false,
                "enumaccess_constraintpoint": {}"",
                "value_int32": 250
            }"properties": [],
            {
                "idunits": "saturation"[],
              "name": "",
              "typefactory": "int32"[],
              "readonly": false,
              "rangedestruction_constraintargs": {}[],
                "value_int32": 50
           "discoverable": }false,
            {
                "idstatus": "sharpnessUNIT_STATUS_INACTIVE",
              "name              "stripped": ""false,
              "type": "int32",
              "readonlyopaque_params": false[],
              "range_constraint": {},
              "valueassigned_int32templates": 50[]
            }
            ],}
          "units": [
          ],
      {
              "uidfactory": "hosts/Server1/DeviceIpint.10/VideoChannel.0/Streaming.0"[],
                    "displaydestruction_idargs": "0"[],
              "type": "Streaming",
         "discoverable": false,
     "display_name": "",
              "access_pointstatus": "UNIT_STATUS_ACTIVE",
              "properties": [],
     "stripped": false,
        "units": [],
              "factoryopaque_params": [],
              "destruction_args      "assigned_templates": [],
                }


В свойствах properties содержатся параметры видео, в дочерних − потоки и детекторы, если созданы.

Изменение конфигурации

Добавление устройства

Добавление виртуальной видеокамеры без настроек:

Expand


Code Block
{
    "discoverablemethod": false"axxonsoft.bl.config.ConfigurationService.ChangeConfig",
       "data": {
        "statusadded": "UNIT_STATUS_ACTIVE",[
            {
  "stripped": false,
              "opaque_paramsuid": []"hosts/Server1",
                "assigned_templatesunits": []
            },
            {
              "uid": "hosts/Server1/DeviceIpint.10/VideoChannel.0/Streaming.1",
              "display_idtype": "1DeviceIpint",
              "type": "Streaming",
              "display_name"units": ""[],
              "access_point": "",
              "properties": [],
               "units": [],
            {
  "factory": [],
              "destruction_args": [],
              "discoverableid": false"vendor",
              "status": "UNIT_STATUS_ACTIVE",
                  "strippedvalue_string": false"AxxonSoft",
               "opaque_params": [],
                 "assigned_templatesproperties": []
              },
                {
      {
        "uid": "hosts/Server1/DeviceIpint.10/VideoChannel.0/Detector.motion_detection",
                 "display_id": "motion_detection",
              "typeid": "Detectormodel",
              "display_name": "",
                          "accessvalue_pointstring": "Virtual",
              "properties": [],
              "units": [],
              "factoryproperties": [],
                    "destruction_args": [],
              "discoverable": false,
 }
                "status": "UNIT_STATUS_INACTIVE",
              "stripped": false,
 ]
                "opaque_params": [],
           },
   "assigned_templates": []
            },
            {
               "uid": "hosts/Server1/DeviceIpint.10/VideoChannel.0/Detector.tampering_detection",
                 "display_id": "tamperingdisplay_detectionname",
                 "type": "Detector",
              "displayvalue_namestring": "newOrder2",
                 "access_point": "",
              "properties": [],
              "units": [],
              "factory": []},
              "destruction_args": [],
              {
  "discoverable": false,
              "status": "UNIT_STATUS_INACTIVE",
              "strippedid": false"blockingConfiguration",
              "opaque_params": [],
                  "assignedvalue_templatesbool": []
    false,
        },
            {
              "uidproperties": "hosts/Server1/DeviceIpint.10/VideoChannel.0/Detector.audio_detection",[]
              "display_id": "audio_detection",
              "type": "Detector"},
              "display_name": "",
                "access_point": "",
 {
                 "properties": [],
              "unitsid": []"display_id",
                 "factory": [],
              "destructionvalue_argsstring": [],
"199"
               "discoverable": false,
            }
  "status": "UNIT_STATUS_INACTIVE",
              "stripped": false,
      ]
        "opaque_params": [],
           }
   "assigned_templates": []
            }]
          ],
   }
       "factory": [],
    }
}



где uid − Сервер, где создается устройство.

В результате будет создана камера с дочерними микрофоном, встроенным архивом и датчиком. Все дочерние объекты, кроме видеоканала, будут выключены. 


Code Block
{    
"destruction_args

	"failed": [],
    
	"added": ["hosts/Server1/DeviceIpint.199"]
}

где 199 − id созданного устройства.

Info
titleПримечание

В некоторых случаях id созданного устройства может не совпадать с заданным значением display_id в запросе.

Создание трекера объектов

Code Block
{
"discoverable": false,
    
"
status
method":
"UNIT_STATUS_ACTIVE
"axxonsoft.bl.config.ConfigurationService.ChangeConfig",
    "data":{
        "
stripped
added": 
false,
{
            "
opaque_params
uid": 
[]
"hosts/Server1",
            "
assigned_templates
units": 
[]
{
           
}

В свойствах properties содержатся параметры видео, в дочерних − потоки и детекторы, если созданы.

Изменение конфигурации

Добавление устройства

Добавление виртуальной видеокамеры без настроек:

{
  
"method":
 
"ITV.bl.config.ConfigurationService.ChangeConfig",
  "
data
type": 
{
"AVDetector",
                "
added
properties": [
                    {
        
"uid": "hosts/Server1",
                "
units
id": 
[
"display_name",
            
{
            "
type
value_string": "
DeviceIpint
Object tracker"
,

                
"units": [],
    },
                 
"properties": [
   {                      
        
{
                "id": "
vendor
input",
                        "value_string": "
ITV
Video",
                        "properties": [
                  
{
          {      
           
"id":
 
"model",
                    "
value_string
id": "
Virtual
camera_ref",
                                "
properties
value_string": 
[]
"hosts/Server1/DeviceIpint.200/SourceEndpoint.video:0:0",
                  
}
              
]
"properties": [
              
},
              
{
        
{
      
"id":
 
"display_name",
                
"value_string":
 
"newOrder2",
                "
properties
id": 
[]
"streaming_id",
              
},
              
{
            
"id
"value_string": "
blockingConfiguration",
hosts/Server1/DeviceIpint.200/SourceEndpoint.video:0:0"
                  
"value_bool":
 
false,
                
"properties": []
 }
                  
},
              
{
]
                 
"id":
 
"display_id",
          },      
"value_string":
 
"199"
              
}

            
]
                
}
{
            
]
      
}
    
]
  
} }
Expand
Code Block
Code Block

где uid − Сервер, где создается устройство.

В результате будет создана камера с дочерними микрофоном, встроенным архивом и датчиком. Все дочерние объекты, кроме видеоканала, будут выключены. 

{  
	"failed": [],  
	"added": ["hosts/Server1/DeviceIpint.199"]
}

где 199 − id созданного устройства.

Info
titleПримечание

В некоторых случаях id созданного устройства может не совпадать с заданным значением display_id в запросе.

Создание трекера объектов

Code Block
{
  "methodid":"ITV.bl.config.ConfigurationService.ChangeConfig "detector",
          "data":{
                      "value_string": "SceneDescription"
                           "added": {}
      "uid": "hosts/Server1",
                  ]
          "units": {
        "type": "AVDetector", }
        "properties": [
       ]
   {
         }
   "id": "display_name",
    }
    }
}

Создание детектора движения в области под трекером объектов

Code Block
{
    "value_stringmethod": "Object tracker""axxonsoft.bl.config.ConfigurationService.ChangeConfig",
    "data":{
      },
  "added": {
       {           "uid": "hosts/Server1",
            "idunits": "input",
{
                "value_stringtype": "VideoAppDataDetector",
                "properties": [
                    {
        
                "id": "cameradisplay_refname",
                        "value_string": "hosts/Server1/DeviceIpint.200/SourceEndpoint.video:0:0",
AppDataDetectorMoveInZone"
                 "properties": [
   },
                    {                      
                        "id": "streaming_idinput",
                        "value_string": "hosts/Server1/DeviceIpint.200/SourceEndpoint.video:0:0"
TargetList",
                     }
   "properties": [
            ]
              },  {      
   
              {
                "id": "detectorcamera_ref",
                "value_string": "SceneDescription"
              }
            ] "value_string": "hosts/Server1/DeviceIpint.200/SourceEndpoint.video:0:0",
          }
        ]
      }
    }
  }
}

Создание детектора движения в области под трекером объектов

Code Block
{
  "methodproperties":"ITV.bl.config.ConfigurationService.ChangeConfig",
  "data":{
 [
        "added": {
      "uid": "hosts/Server1",
      "units": {
        "type": "AppDataDetector",
    {
    "properties": [
          {
            "id": "display_name",
            "value_stringid": "AppDataDetectorMoveInZonestreaming_id",
          },
          {           
            "idvalue_string": "input",hosts/Server1/AVDetector.1/SourceEndpoint.vmda"
            "value_string": "TargetList",
               "properties": [
        }
      {   
                "id": "camera_ref",
      ]
          "value_string": "hosts/Server1/DeviceIpint.200/SourceEndpoint.video:0:0",
                "properties": [
 },                  {
   
                 "id": "streaming_id",
          {
          "value_string": "hosts/Server1/AVDetector.1/SourceEndpoint.vmda"
                  }
   "id": "detector",
            ]
              },      "value_string": "MoveInZone"
    
              {
          }
      "id": "detector",
                "value_string": "MoveInZone" ]
              }
      }
      ]
          }]
        ]
    }
  }
      }
    }
}

Изменение папки с видео для виртуальной камеры

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

Включение/выключение объекта

...

Включение микрофона:

Code Block
{
    "method":"ITVaxxonsoft.bl.config.ConfigurationService.ChangeConfig",
    "data":{
        "changed":[{
              "uid": "hosts/Server1/DeviceIpint.10/Microphone.0",
              "type": "Microphone",
              "properties": [ {
                  "id": "enabled",
                  "value_bool": true
                } ],
               "units":[]
        }]
    }
}

Удаление устройства

Code Block
{
    "method": "ITVaxxonsoft.bl.config.ConfigurationService.ChangeConfig",
    "data": {
        "removed": [
            {
                "uid": "hosts/Server1/DeviceIpint.199"
            }
        ]
    }
}