playback
playback
JSON commands related to recording playback
getPlaybackCapabilities
Summary
Find playbacks capability of a device
Description
Find playbacks capability of a device
Responses
Code | Description | Schema |
---|---|---|
200 | successful operation | getPlaybackCapabilitiesResponse |
400 | Bad Request |
startPlayback
Summary
Start the playback for a specific channel
Description
Start the playback for a specific channel
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
channel | query | Device channel | Yes | integer |
streamType | query | Stream type | Yes | string |
preferProtocol | query | Prefer protocol | Yes | [ string ] |
fileName | query | File name | Yes | string |
startTime | query | startTime - unix timestamp. startTime should be check before fileName, if startTime exist then skip fileName, if startTime does not exist then check fileName | Yes | long |
Responses
Code | Description | Schema |
---|---|---|
200 | successful operation | startPlaybackResponse |
400 | Bad Request |
queryEventList
Summary
queryEventList
Description
queryEventList
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
resolution | query | Resolution | Yes | string |
startTime | query | Search event start time | Yes | long |
endTime | query | Search event end time | Yes | long |
eventType | query | Device event type | Yes | string |
channel | query | Device channel | Yes | integer |
Responses
Code | Description | Schema |
---|---|---|
200 | successful operation | queryEventListResponse |
400 | Bad Request |