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":"cam1","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":long,
 "settings":[
  {"name":"cam","flags":1},
  {"name":"cam1","flags":0}...]
}			  

Response

Empty JSON in case request successfully.

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