update_video_settings
Can only be used in Wialon Hosting.
The update_video_settings function is used to configure the live stream name and unload video from cameras.
svc=unit/update_video_settings¶ms={
"itemId":long,
"settings":[{"name":"text","flags":int},{"name":"text","flags":int}...]}
To send a request, you should have the Edit not mentioned properties access right to the unit.
Parameters
Name | Description |
---|---|
itemId | Unit ID. |
name | Camera name. |
flags | Unloading flag. If flags:1 is indicated for a camera, the video from this camera is unloaded. If flags:0 is indicated, it is not. |
Returned result
If the request is successful, an empty JSON is returned.
{ }
Request example
svc=unit/update_video_settings¶ms={"itemId":45644,"settings":"settings":[{"name":"Camera 1","flags":1},{"name":"Camera 2","flags":1}]}