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":[
        {"channel":int,"name":text,"flags":int},
        {"channel":int,"name":text,"flags":int},
        ...]}			  

Parameters

Name Description
itemId unit ID
channel camera number (1-16)
namecamera's name
flags loading flags

Parameter flags:

  • flags:0 - camera deactivated
  • flags:1 - camera activated
  • flags:3 - camera and video loading activated

Example

svc=unit/update_video_settings&params={"itemId":5523461,"settings":[{"channel":1,"name":"Камера 1222","flags":1},{"channel":3,"name":"Camera 3","flags":3}]}

Response

Empty JSON in case request successfully.

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