get_video_units
This request is used only for Wialon Local. It returns a list of units with available live stream.
Request
svc=user/get_video_units¶ms={}
Response
[
{
"id":<long>,
"name":"<text>",
"unique_id":"<text>",
"hw_type":"<text>",
"video_uri":"<text>",
"cameras":"<text>",
"connected":<int> //1 - connected, 0 - disconnected
"icon_uri":"<text>",
"cmds":[
{
"id":<long>,
"n":"<text>", //command name
"c":"<text>", //real command name
"l":"<text>", //real command link type
"p":"<text>", //real command parameter
"a":<long>, //command ACL
"f":<uint>, //command flags
"ct":<long>, //create time
"mt":<long> //modification time
},
...
]
},
...
]
Error codes
Error code | Description |
---|---|
7 | The host is not running Wialon Local, or access denied. |
14 | Video service unavailable. |