Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

General request format:

http://example.com:[port]IP-address:port/web2/secure/video/action.do?version=4.7.8.0{version}&sessionid=FC126734&cam.id=5&login=XXX&password=YYY – request for video from a camera with ID 5.

cam.id – camera ID.

sessionid – any value.

{sessionid}&video_in={video_in}&imageWidth={imageWidth}&fps={fps}&login={login}&password={password}

Request parameters:

Parameter

Is required

Description

versionYes

See Product version. If

...

version 4.10.0.0 is specified in request, then the stream obtained is in MJPEGformat without XML inserts – it can be displayed on a web page using the IMG tag in Chrome and FireFox browsers. This feature is implemented for both live and archive video.

...

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

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

fpsNoVideo frame rate
login NoIntellect username, if set
password NoIntellect user password, if set

Example request:

http://10127.0.360.1581:8085/web2/secure/video/action.do?version=4.10.0.0&sessionid=1234567890&video_in=CAM:1&imageWidth=200&fps=1&login=1USER&password=1Here is an example of using request results on the web pagePASS

Example response:

Code Block
languagexml
<html>
 <head <head/>
 <body> <body>
  <img <img src="path to mjpeg"/>
 </body>
</html>

...