Go to documentation repository
GET http://IP-Address:port/prefix/statistics/{VIDEOSOURCEID} − statistics for the certain camera.특정 카메라에 대한 통계
Tip |
---|
{VIDEOSOURCEID} − three-component source endpoint ID (see 세 부분으로 구성된 소스 엔드포인트 ID (비디오 카메라 목록 및 정보 가져오기 참조). For instance예를 들어, "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0". |
Statistics for the several cameras: POST 여러 카메라에 대한 통계: POST http://IP-Address:port/prefix/statistics/ + request body in the following format:요청 본문은 다음 형식으로 작성됩니다.
Code Block |
---|
[ "hosts/SERVER1/DeviceIpint.1/SourceEndpoint.video:0:0", "hosts/SERVER1/DeviceIpint.2/SourceEndpoint.video:0:0" ] |
Parameter파라미터 | RequiredR수 | 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 Water level detection 참조). |
Request example요청 예시:
GET http://127.0.0.1:80/statistics/Server1/DeviceIpint.1/SourceEndpoint.video:0:0
Response example응답 예시:
Code Block |
---|
{ "bitrate": 592831, "fps": 2.278942490e+01, "width": 1280, "height": 720, "mediaType": 2, "streamType": 877088845 } |
...