playBack
POST
/v2/openapi/video/history/replay9.26 Added parameter nodeValue, optional replay streaming node
Request
Body Params application/json
deviceId
string | null
required
deviceId
channelId
integer | null
required
channelId
playbackType
integer | null
required
playbackType 0:Normal ;1:Fast ;2:PlayBack;3:KeyFrame ;4:SingleFrame
fastForwardOrBackward
integer | null
required
fastForwardOrBackward 0:invalid; 1:1x; 2:2x 3:4x; 4:8x; 5:16x
startTime
string | null
required
startTime Device Time Zone yyyy-MM-dd HH:mm:ss
endTime
string | null
required
endTime Device Time Zone yyyy-MM-dd HH:mm:ss
nodeValue
string | null
optional
The name of the stream used to select the replay, or the default one if it is not passed The value of this parameter can be obtained through the /v2/audio/nodes interface
Example
{
"deviceId": "string",
"channelId": 0,
"playbackType": 0,
"fastForwardOrBackward": 0,
"startTime": "string",
"endTime": "string",
"nodeValue": "string"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
code
integer | null
optional
data
string | null
optional
msg
string | null
optional
Example
{
"code": 0,
"data": "",
"msg": ""
}
Last modified: a month ago