Go to documentation repository
Page History
Example request:
Code Block | ||
---|---|---|
|
...
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> |
...
Response parameters:
Parameter | Description |
---|---|
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) |
...
Example response:
In case of stream end due to the fault of server, the end packet can be received:
Code Block | ||
---|---|---|
| ||
--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> |
Response parameters:
Parameter | Description |
---|---|
sessionid |
...
Session ID (the same as at start). | |
video_in |
...
Camera ID |
...
errcode |
...
Error code:
|
Overview
Content Tools