Playback control
You can commands to control the stream being played, currently there are fast forward, drag, stop controls
API info
Url: /web_api/v1/media/ctrl_history_video
Method: GET
Content-Type:x-www-form-urlencoded
Request parameter
field | type | required | desc |
---|---|---|---|
vehicleNo | string | Yes | Plat No. |
channelNo | integer | Yes | Channel number |
ctrlType | integer | No | Playback control 2: End playback; 3: Fast forward; 4: key frame fast rewind; 5: Drag; 6: Play key frames |
speed | integer | No | Double speed 0:nothing,1:1 times,2:2 times,3:4 times,4:8 times,5:16 times |
dragTime | integer | No | Drag the time timestamp |
Response Data
nothing
Example
Request example
url
http://localhost:8080/web_api/v1/media/ctrl_history_video?vehicleNo=13000000005&channelNo=1&speed=1&ctrlType=5&dragTime=1699027224&_t=1699065673733
http://localhost:8080/web_api/v1/media/ctrl_history_video?vehicleNo=13000000005&channelNo=1&speed=1&ctrlType=5&dragTime=1699027224&_t=1699065673733
Response example
json
{
"hdr":{
"code":200
},
"data":null
}
{
"hdr":{
"code":200
},
"data":null
}