Device playback runtime info
The runtime info of the current playing stream that matches the given device ID and stream
ID.
Get device runtime info by querying GET to
/api/playback/runtime/:deviceId&streamId=:streamId with
an Ventra API
account using deviceid and streamid.
Parameters
| Name of Parameter | Type | Description |
|---|---|---|
| deviceId | string | Required |
| streamId | int | Required |
Example
Get given device runtime info by querying GET to URL https://www.ventracloud.com/api/playback/runtime/:deviceId&streamId=:streamId
GET /api/playback/runtime/VG000036&streamId=47142510
Response
The response is an array of given device runtime info with details.
{
"deviceId":"IP08D43A",
"gpsData":
{
"time":1454317137000,
"lat":24.078605,
"lng":120.528535,
"speedInKmh":"0.63",
"trackingAngle":338.57
},
"hwnd":123456
}
gpsDatatime: Unix time in millisecondstrackingAngle: Tracking angle in degrees [0 - 360]
