Versions Compared

Key

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

GET http://IP-Address:port/prefix/statistics/{VIDEOSOURCEID} - statistics for the certain camerastatystki dla określonej kamery.

Tip

{VIDEOSOURCEID} - three-component source endpoint ID (see Get list of video sources (cameras)). For instance,  trójkomponentowe ID źródłowego punktu końcowego (zobacz: Pozyskaj listę źródeł wideo (kamer)). Przykład: "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0".

Statistics for the several camerasStatystyki dla kilku kamer: POST http://IP-Address:port/prefix/statistics/ + request body in the following formatzapytanie body w następującym formacie:

Code Block
[ 
    "hosts/SERVER1/DeviceIpint.1/SourceEndpoint.video:0:0",
    "hosts/SERVER1/DeviceIpint.2/SourceEndpoint.video:0:0"
]


Parameter
Parametr
Required
Wymagany
Description
Opis
waterlevel
No
Nie

waterlevel=1 -

the response will contain the current water level value, if the water level detection is created for the camera (see

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

Request examplePrzykładowe zapytanie:

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

Response examplePrzykładowa odpowiedź:

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

...