replaySet
POST
/v2/openapi/video/history/replaySet9 .26 Added parameter nodeValue, optional replay streaming node
Request
Body Params application/json
deviceId
string | null
required
deviceId
channelId
integer | null
required
channelId
playbackControl
integer | null
required
playbackControl
0:Start;
1:Pause;
2:End;
3:Fast;
4:Keyframe rewind playback;
5:Drag;
6:Keyframes
fastForwardOrBackward
integer | null
required
When playbackControl为 is 3 and 4, the content of this field is valid; otherwise, it is set to
Fast forward or rewind 0:invalid; 1:1x; 2:2x 3:4x; 4:8x; 5:16x
dragTime
string | null
required
dragTime Device Time Zone yyyy-MM-dd HH:mm:ss,
Effective when playbackControl=5 drag playback
nodeValue
string | null
optional
nodeValue,If not passed, the default node is used
Example
{
"deviceId": "string",
"channelId": 0,
"playbackControl": 0,
"fastForwardOrBackward": 0,
"dragTime": "string",
"nodeValue": "string"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
code
integer | null
optional
data
object ()
optional
msg
string | null
optional
Example
{
"code": 0,
"data": {},
"msg": ""
}
Last modified: 1 个月前