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":[ {"name":text,"flags":int}, {"name":"cam1","flags":int}, ...] }
Name | Description |
---|---|
itemId | unit ID |
name | camera's name |
flags | loading flags |
flags:0 - no video loading from camera flags:1 - video loading activated
Example
svc=unit/update_video_settings¶ms={ "itemId":long, "settings":[ {"name":"cam","flags":1}, {"name":"cam1","flags":0}...] }
Empty JSON in case request successfully.
{}