Documentation for Axxon PSIM 1.0.0-1.0.1.

Previous page Configuration request  Curl video request. Main stream format Next page


General request format:

GET http://IP-address:port/web2/secure/video/action.do?version={version}&sessionid={sessionid}&video_in={video_in}&normalize={normalize}&imageWidth={imageWidth}&imageHeight={imageHeight}&fps={fps}&login={login}&password={password}

Request parameters:

Parameter

Is required

Description

versionYes

See Product version

Note. Not more than 6 video streams can be received simultaneously

video_inYesCamera ID in the format "TYPE:ID", for example "CAM:1"
sessionidNoSession ID
imageWidthNo

Frame width. Value can be in [64, 1600] range. Server automatically rounds width to larger value divisible by 4

imageHeightNo

Frame height. Value can be in [30, 1200] range.

If not, then the size of the returned image is taken from the video stream

normalizeNo

truestretches the image if the frame comes in incorrect proportions

fpsNoVideo frame rate
login NoAxxon PSIM username, if set
password NoAxxon PSIM user password, if set

Request example:

GET http://127.0.0.1:8085/web2/secure/video/action.do?version=1.0.1.224&sessionid=1234567890&video_in=CAM:1&imageWidth=200&fps=1&login=USER&password=PASS

Response example:

<html>
 <head/>
 <body>
  <img src="path to mjpeg"/>
 </body>
</html>
  • No labels