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.
2.5.2.1 Successful Request
Successful response to a HTTP request.
Response:
HTTP Code: 200 OK
Content-Type: image/bitmap
Content-Length: <image size in bytes>
Body:
<bitmap image data>
2.6 JPEG/Motion JPEG
The requests specied in this section refer to Axis products that are set to use JPEG and Motion JPEG encoding.
2.6.1 JPEG Image (Snapshot) CGI Request
The jpg/image.cgi is used to request a JPEG image (snapshot). A JPEG image (snapshot) should only be used when requiring
less than 1 fps.
Access control: viewer
Method: GET
Syntax:
http://<servername>/axis-cgi/jpg/image.cgi
[?<argument>=<value>[&<argument>=<value>...]]
With the following arguments and values:
Argument Description
JPEG image arguments. See 2.7 Image RequestArguments for arguments.
Example 11:
Request a JPEG image from video source 1 with resolution 320x240 and compression 25.
http://myserver/axis-cgi/jpg/image.cgi?resolution=320x240
&compression=25&camera=1
Example 12:
Request a JPEG image from video source 2 with the text My Camera displayed.
http://myserver/axis-cgi/jpg/image.cgi?
&text=1&textstring=My%20Camera&camera=2
2.6.2 JPEG Image Response
When a JPEG image is requested, the Axis product either returns the specied JPEG image or an error.
2.6.2.1 Successful Request
Successful response to a HTTP request.
Response:
11