영어 | 한국어 | 중국어 | 일본어

제3장 저장비디오 정보 API

저장비디오 목록 요청

 Request
http://<address>:<port>/reqFileList

 Response
[
  {"id":29516019, "ch":"2", "title":"ChannelTitle#2", "desc":"",
   "time":"2026-03-23T02:59:48+01:00", "timestamp":1774231188, "isDST":false,
   "duration":899, "priority":0, "filesize":2639516672 },
  {"id":29516020, "ch":"4", "title":"ChannelTitle#04", "desc":"",
   "time":"2026-03-23T02:59:48+01:00", "timestamp":1774231188, "isDST":false,
   "duration":39, "priority":3, "filesize":7283712},
   ...
]

· id: 고유 파일 번호.

· ch: 채널 번호.

· title: 채널 제목.

· time: 녹화 시작 시각 (ISO 8601 형식의 타임스탬프).

· timestamp: 녹화 시작 시각 (Unix 타임스탬프).

· isDST: 해당 시각이 DST인지 여부.

· duration: Duration of the video segment in seconds.

· priority: 사용자가 설정한 우선순위 (0–5).

· filesize: 보관된 영상 파일의 크기.

 

저장비디오 녹화 시간 요청

 Request
http://<address>:<port>/reqFileTime?id=<file id>

· id: 고유 파일 번호.

 Response
{
  "recordings":[[43203,22]],
  "startTimestamp": 1772463600,
  "totalSeconds": 86400,
  "dstInfo": {
    "biasMinStart": 0,
    "biasMinEnd": 0,
    "biasDstMinStart": 0,
    "biasDstMinEnd": 0,
    "changeTimeSec": 0
  }
}

· recordings: 지정된 날짜의 녹화 배열.

· 각 녹화는 [seconds, duration] 쌍으로 표현됩니다:

· seconds: startTimestamp 이후의 비디오 시작 초.

· duration: 비디오 구간의 길이(초).

· startTimestamp: 녹화 시작 시간의 Unix 타임스탬프.

· totalSeconds: 하루의 총 초수. 서머타임(DST) 변경이 있는 날에는 이 값이 달라질 수 있습니다.

· dstInfo: 해당 날짜의 일광 절약 시간제(DST) 조정 정보를 제공합니다.

· biasMinStart / biasMinEnd: 해당 날짜 시작과 종료 시점의 분 단위 시간 차이.

· biasDstMinStart / biasDstMinEnd: DST 기간 시작과 종료 시점의 분 단위 시간 차이.

· changeTimeSec: 하루 시작 기준 초 단위로 표현된 시간 변경의 정확한 시점.