Article Type:
|
How To
|
Product:
|
Symphony
|
Product Version:
|
|
Component:
|
|
Device Brands:
|
|
Created:
|
2-May-2016 1:23:03 PM
|
Last Updated:
|
|
SDK: WebserviceConsole.exe – How to set a camera to start recording/stop recording
WebserviceConsole is a command app that can be used to perform many different actions in Symphony. Usage WebServiceConsole <farm address> SetRecord <username> <password> <camera ID> <record value> Where <farm address> is the IP Address (e.g. 10.234.1.153) <username> is the Administrator account user name <password> is the Password for the Administrator account <camera ID> is the ID of the camera in Symphony <record value> is 0 (stop recording) or 255 (start recording) Examples In this particular example we will set the record mode of a camera. To set camera 1 to record always: WebServiceConsole 10.234.1.153 SetRecord admin admin 1 255 To set camera 1 to record never: WebServiceConsole 10.234.1.153 SetRecord admin admin 1 0 In the Symphony server configuration interface, create an action set that includes the Run Program functionality with the WebServiceConsole command. Example of the run program parameters to set the camera to always record: - Working Directory: c:\windows\system32
- Executable Name: c:\windows\system32\cmd.exe
- Arguments: /C "WebServiceConsole.exe" 10.234.1.153 SetRecord admin admin 1 255
Example of the run program parameters to override the camera recording setting: - Working Directory: c:\windows\system32
- Executable Name: c:\windows\system32\cmd.exe
- Arguments: /C "WebServiceConsole.exe" 10.234.1.153 SetRecordOverride admin admin 2 -1 ""
For information on creating rules and action sets, see Rules. SetRecord Options 0 | RECORD_NEVER | 1 | RECORD_VIDEO_ONLY | 2 | RECORD_AUDIO_ONLY | 3 | RECORD_AUDIO_AND_VIDEO | 8 | RECORD_ON_MD_CAMERA: Motion detection by camera. | 12 | RECORD_ON_MD_CAMERA_SCHEDULE: Motion detection by camera and schedule. | 16 | RECORD_ON_MD_ALGORITHM: Tracked motion by algorithm. | 32 | RECORD_ON_PIXEL_CHANGE: Pixel changes by algorithm. | 36 | RECORD_ON_PIXEL_SCHEDULE: Pixel changes by algorithm and schedule. | 64 | RECORD_ON_SCHEDULE: Schedule. | 128 | RECORD_ON_MD_SCHEDULE: Tracked motion by algorithm and schedule. | 132 | RECORD_AUDIO_ON_ALARM: Audio record mode. If you select "record on alarms." | 255 | RECORD_ALWAYS |
Average rating:
|
|
Please log in to rate.
|
Rated by 1, Viewed by 3140
|
|