Documentation for Axxon Next 4.5.0. Documentation for other versions of Axxon Next is available too.

Previous page Next page

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

GET http://IP-Address:port/prefix/statistics/{VIDEOSOURCEID} - statystki dla określonej kamery.

{VIDEOSOURCEID} - three-component source endpoint ID (zobacz: Get list of video sources (cameras)). Przykład: "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0".

Statystyki dla kilku kamer: POST http://IP-Address:port/prefix/statistics/ + zapytanie body w następującym formacie:

[ 
    "hosts/SERVER1/DeviceIpint.1/SourceEndpoint.video:0:0",
    "hosts/SERVER1/DeviceIpint.2/SourceEndpoint.video:0:0"
]
ParametrWymaganyOpis
waterlevelNie

waterlevel=1 - odpowiedź będzie zawierać obecny poziom wody, o ile detektor poziomu wody jest utworzony dla kamery (zobacz: Konfiguracja detektora poziomu wody).

Przykładowe zapytanie:

GET http://127.0.0.1:80/statistics/Server1/DeviceIpint.1/SourceEndpoint.video:0:0

Przykładowa odpowiedź:

{
  "bitrate": 592831,
  "fps": 2.278942490e+01,
  "width": 1280,
  "height": 720,
  "mediaType": 2,
  "streamType": 877088845
}
  • No labels