Use request unit/update_video_settings to update settings to get video from unit There is needed access “Edit not mentioned properties”.
svc=unit/update_video_settings¶ms={ "itemId":long, "settings":[ {"channel":int,"name":text,"flags":int}, {"channel":int,"name":text,"flags":int}, ...]}
Name | Description |
---|---|
itemId | unit ID |
channel | camera number (1-16) |
name | camera's name |
flags | loading flags |
Parameter flags:
Example
svc=unit/update_video_settings¶ms={"itemId":5523461,"settings":[{"channel":1,"name":"Камера 1222","flags":1},{"channel":3,"name":"Camera 3","flags":3}]}
Empty JSON in case request successfully.
{}
|