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":text,"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":45644,"settings":[{"name":"Camera 1","flags":1},{"name":"Camera 2","flags":1}]}
Empty JSON in case request successfully.
{}
|