Update video settings

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&params={
 "itemId":long,
 "settings":[
   {"name":text,"flags":int},
   {"name":text,"flags":int},
   ...]
 }			  

Parameters

Name Description
itemId unit ID
namecamera's name
flags loading flags

flags:0 - no video loading from camera flags:1 - video loading activated

Example

svc=unit/update_video_settings&params={"itemId":45644,"settings":[{"name":"Camera 1","flags":1},{"name":"Camera 2","flags":1}]}

Response

Empty JSON in case request successfully.

  {}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2022 Gurtam