Versions Compared

Key

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

...

XML:

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<baseObjects>
    <CAM>
        <displayId>1</displayId>
        <displayName>Экран 1</displayName>
        <extId>5</extId>
  <baseObjects>
   <CAM>
      <displayId>1</displayId>
      <extId>9</extId>
      <geo_angle>0.0</geo_angle>
      <id>CAM:9</id>
      <latitide>-98.0533</latitide>
      <longitude>56.4089</longitude>
      <monitorId>1;2</monitorId>
      <name>Camera 9</name>
      <regionId />
      <state>
         <fullState>DISARMED</fullState>
         <id>connected</id>
         <type>NORMAL</type>
      </state>
      <type>CAM</type>
      <additionalInfo />
      <micId />
      <presets />
      <speakerId />
      <telemetryId />
   </CAM>
   <baseObject>
      <displayId>1</displayId>
      <extId>1</extId>
      <id>DISPLAY:1</id>
      <name>Display 1</name>
      <state>
         <id>normal</id>
         <type>NORMAL</type>
      </state>
      <type>DISPLAY</type>
   </baseObject>
   <CAM>
      <displayId>1</displayId>
      <extId>5</extId>
      <geo_angle>0.0</geo_angle>
      <id>CAM:5</id>
      <latitide>-97.6674</latitide>
      <longitude>56.3588</longitude>
      <monitorId>1</monitorId>
      <name>pos</name>
      <regionId />
      <state>
         <fullState>DISARMED</fullState>
         <id>connected</id>
         <type>NORMAL</type>
      </state>
      <type>CAM</type>
      <additionalInfo />
      <micId />
      <presets />
      <speakerId />
      <telemetryId />
   </CAM>
   <STREAMING_SERVER>
      <cams>1;2;3;4;5;6;9;;;;;;;;;;</cams>
      <extId>1</extId>
      <id>STREAMING_SERVER:1</id>
      <name>RTSP <monitorName>Монитор 1</monitorName>Server 1</name>
      <state>
         <id>normal</id>
         <type>NORMAL</type>
      </state>
      <type>STREAMING_SERVER</type>
      <port>5543</port>
  <name>Камера 5<</name>STREAMING_SERVER>
   <CAM>
     <regionDescription>Описание области<<displayId>1</regionDescription>displayId>
      <extId>1</extId>
      <regionId>2.1</regionId><geo_angle>0.0</geo_angle>
      <id>CAM:1</id>
      <latitide>-98.3293</latitide>
  <regionName>Раздел    2.1</regionName>
 <longitude>56.741</longitude>
      <monitorId>1;2</monitorId>
      <name>Camera 1</name>
      <regionDescription />
      <regionId>1.1</regionId>
      <regionName>Region <state>1.1</regionName>
      <state>
         <fullState>DISARMED</fullState>
         <id>connected</id>
         <type>NORMAL</type>
      </state>
      <type>CAM</type>
      <zoneId>1</zoneId>
      <zoneName>Area 1</zoneName>
      <additionalInfo />
      <micId />
      <presets />
      <speakerId />
      <telemetryId />
   </CAM>
   <SLAVE>
      <extId>R-GYZYEV</extId>
      <id>connected</id><id>SLAVE:R-GYZYEV</id>
      <name>LOCALHOST</name>
      <state>
         <id>connected</id>
         <type>NORMAL</type>
      </state>
      <type>SLAVE</type>
   </state>SLAVE>
   <baseObject>
     <type>CAM< <displayId>1</type>displayId>
      <extId>2</extId>
  <zoneId>2</zoneId>    <id>MONITOR:2</id>
      <monitorId>2</monitorId>
  <zoneName>Область 2</zoneName>
      <name>Monitor 2</name>
      <state>
         <id>normal</id>
         <type>NORMAL</type>
      </state>
      <type>MONITOR</type>
   </baseObject>
   <baseObject>
      <additionalInfo><<displayId>1</additionalInfo>displayId>
      <extId>1</extId>
      <micId><<id>MONITOR:1</micId>id>
      <monitorId>1</monitorId>
      <name>Monitor <presets/>1</name>
      <state>
        <speakerId>< <id>normal</speakerId>id>
         <telemetryId></telemetryId>
<type>NORMAL</type>
      </state>
      <type>MONITOR</type>
   </CAM>baseObject>
</baseObjects>

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

...