Documentation for Intellect 4.10.4. Documentation for other versions of Intellect is available too.

Previous page Next page


Stream of following view will be received in reply

HTTP/1.0 200 OK

Connection: close

Server: ITV-Intellect-Webserver/4.9.0.0

Cache-Control: no-store,no-cache,must-revalidate,max-age=0

Pragma: no-cache

Date: Mon, 13 Jan 2013 10:44:27 GMT

Content-Type: multipart/mixed;boundary=videoframe

 

--videoframe

Content-Type: text/xml

Content-Length: 138 

   

<video_in>

  <sessionid>FC126734</sessionid>

  <video_in>CAM:5</video_in>

  <newstate>started</newstate>

  <errcode>100</errcode>

</video_in> 

 --videoframe

Content-Type: image/jpeg

Content-Length: 23978

X-Width: 320

X-Height: 240

X-Time: 2013-03-15T10:51:44.314+04:00

X-Timestamp: 0.000

 

 <jpeg image>

--videoframe

Content-Type: image/jpeg

Content-Length: 23651

X-Width: 320

X-Height: 240

X-Time: 2013-03-15T10:51:44.314+04:00

X-Timestamp: 0.152

 

<jpeg image>

Where:

  • X-Width - image width.
  • X-Height- image height.
  • X-Time - absolute time of frame forming.
  • X-Timestamp - relative frame time in seconds (relatively stream head).

In case of stream end due to the fault of server, the end packet can be received:

--videoframe

Content-Type: text/xml

Content-Length: 106   

<video_in>

  <sessionid>FC126734</sessionid>

  <video_in>CAM:5</video_in>

  <newstate>closed</newstate>

  <errcode>103</errcode>

</video_in>

  • sessionid -  session ID (the same as at start).
  • video_in - camera ID.
  • errcode - error code:
    • 100 – error absence.
    • 101 – too many connected users.
    • 102 – invalid password (theoretically, it's possible to change password at any moment).
    • 103 – unavailable video.
    • 104 – old client version. Update version.
  • No labels