get_video_units

This request is used only for Wialon Local. It returns a list of units with available live stream.

Request

Copied!
svc=user/get_video_units&params={}

Response

Copied!
[
	{
		"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 codeDescription
7The host is not running Wialon Local, or access denied.
14Video service unavailable.
Download PDF file
Download Word document

See also