Device remote mp4 download
The playback mp4 download that matches the given device ID and timestamp. Get device remote mp4 download
by querying GET to
/dlremote/:deviceid(@chs)/:duration/:timestamp/:username/:password/:fileName with an
Ventra API
account using deviceid(@chs), username, password,
duration and timeStamp. When
querying the GET method to
https://www.ventracloud.com/dlplayback/:deviceid(@chs)/:duration/:timestamp/:username/:password/:fileName.
Parameters
| Name of Parameter | Type | Description |
|---|---|---|
| deviceid(@chs) | string | Required deviceid |
| username | string | Required username provide by
Ventra Cloud |
| password | string | Required SHA-256 of your password
which is uppercase |
| duration | number | Required Minutes of MP4 file length.
The following duration is > 0 && <= 30 |
| timestamp | string | Required timestamp with the time
zone.
format YYYY-MM-DD THH:hh:ssZZ |
| fileName | string | Option self define fileName .mp4
|
deviceid@chs.
chs is decimal number that bitN = channel N.
channel1 = 0b1, channel2 = 0b10, channel = 0b100.
this page only allows one channel playback download.
Example
Get device remote mp4 download by simply GET to URL https://www.ventracloud.com/dlremote/BT002882@2/1/2019-08-20T12:30:00+0800/admin/7EC4B7ACCD27D910A5BB57044BCA1FF3B65170B0998261AA624C4ECCC1EB4822/test.mp4
GET https://www.ventracloud.com/dlremote/BT002882@2/1/2019-08-20T12:30:00+0800/admin/7EC4B7ACCD27D910A5BB57044BCA1FF3B65170B0998261AA624C4ECCC1EB4822/test.mp4
Response
The response is a downloaded mp4 film file.
