Axis Communications Version 3 Stereo Receiver User Manual


 
Video Streaming API
This document is copyright protected and is the property of Axis Communications AB and may not be copied, reproduced or distributed in any way without
the prior written consent of Axis Communications AB.
http://myserver/axis-cgi/mjpg/video.cgi?
streamprofile=myprofile&resolution=CIF
2.6.4 Motion JPEG Video Response
When a Motion JPEG video is requested, the Axis product either returns the specied Motion JPEG video or an error.
2.6.4.1 Successful Request
If the request was successful, the Axis product returns a continuous ow of JPEG images. The content type is
multipart/x-mixed-replace and each image ends with a boundary string <boundary>.
Response:
HTTP Code: 200 OK
Content-Type: multipart/x-mixed-replace; boundary=<boundary>
Body:
--<boundary>
<image>
--<boundary>
<image>
Where the returned <image> eld is:
Content-Type: image/jpeg
Content-Length: <image size in bytes>
<JPEG image data>
2.7 Image Request Arguments
The following arguments and values can be used in JPEG, Motion JPEG or bitmap CGI requests. Unless overridden by a argument it is
the default values as congured via the GUI (or param.cgi) that decides the characteristics of the image or video.
Argument Valid values Description
resolution=<string>
A string
1
Resolution of the returned image. For
supported resolutions, check in parameter
Properties.Image.Resoluti-
on.
camera=<string>
1 ...
quad
Selects the video source. If omitted the
default value camera=1 is used. This
argument is only valid for Axis products
with more than one video source. That
is cameras with multiple view areas
and video encoders with multiple video
channels.
compression=<int> 0 ... 100
1
Adjusts the compression level of the
image. Higher values correspond to
higher compression, that is lower quality
and smaller image size. Note: This value
is internally mapped and is therefore
product-dependent.
13