&compression=25
Example: a Multipart JPEG image stream from camera 1 with a required frame rate of 5
http://myserver/axis-cgi/mjpg/video.cgi?req_fps=5
5.2.7 MJPG video response
When MJPG video is requested, the server returns a continuous flow of JPEG files. The content type is
"multipart/x-mixed-replace" and each image ends with a boundary string <boundary>. The returned image and
HTTP data is equal to the request for a single JPEG image.
Return:
HTTP/1.0 200 OK\r\n
Content-Type: multipart/x-mixed-replace;boundary=<boundary>\r\n
\r\n
--<boundary>\r\n
<image>
where the proposed <boundary> is
myboundary
and the returned <image> field is
Content-Type: image/jpeg\r\n
[ Content-Length: <image size>\r\n ]
[ Content-Auth: <authorization information>\r\n ]
\r\n
<JPEG image data>\r\n
--<boundary>\r\n
<image>
Example: requested Multipart JPEG image
HTTP/1.0 200 OK\r\n
Content-Type: multipart/x-mixed-replace;boundary=myboundary\r\n
\r\n
Comments to this Manuals