Go to documentation repository
GET http://IP-Address:port/prefix/statistics/{VIDEOSOURCEID} − statistics for the certain camera.
{VIDEOSOURCEID} − three-component source endpoint ID (see Get list of cameras and information about them). For instance, "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0".
Statistics for the several cameras: POST http://IP-Address:port/prefix/statistics/ + request body in the following format:
[
"hosts/SERVER1/DeviceIpint.1/SourceEndpoint.video:0:0",
"hosts/SERVER1/DeviceIpint.2/SourceEndpoint.video:0:0"
]
| Parameter | Required | Description |
|---|---|---|
| waterlevel | No | waterlevel = 1 − the response will contain the current water level value, if the water level detection is created for the camera (see Configuring the Water level detector). |
Request example:
GET http://127.0.0.1:80/statistics/Server1/DeviceIpint.1/SourceEndpoint.video:0:0
Response example:
{
"bitrate": 592831,
"fps": 2.278942490e+01,
"width": 1280,
"height": 720,
"mediaType": 2,
"streamType": 877088845
}
| Parameter | Description |
|---|---|
bitrate | Bitrate of the video stream in bits per second |
| fps | Number of frames per second |
| width | The height and width of the video in pixels |
| height | |
| mediaType | Media type |
| streamType | Type of stream (see the possible values) |
Overview
Content Tools