*getPresetImage
Configuration Article | CA-20220907-TP-50 VDG Sense | API | Functions | Media |
Get the preset images of a dome, a preset image is a represented image of the located preset position.
Request
command=getpresetimage&serverid=[UID]&deviceid=[UID]&preset=[number]& imagewidth=[number >40&number <2560]&imageheight=[number>40&number<1600]
[/sourcecode]
Â
[table class="code-table table table-bordered" colwidth="15%|25%|60%"]
parameter|type|remarks
serverid |[UID]|unique server id.
deviceid |[UID]|unique device id.
preset |[number]|the number of the preset
imagewidth |[number > 40 & number < 2560]|optional image width for transcoding
imageheight |[number > 40 & number < 1600]|optional image height for transcoding
[/table]
<h2>Response</h2>
Â
Â
jpeg image (or result in case of error) |
error code | description | remarks |
---|---|---|
-2 | No device | Â No device found for the supplied cameraid/deviceid |
-11 | No image | There is no image found to return |
-21 | Device not acive | The device is not active in the current profile and cannot produce any results |
Changelog
2.1.1  – Added