1. Grabbing a Single Frame
Retrieving a single frame from the camera is the simplest and may
well be all you wish to do.
1.1. Request
There are two methods of requesting a single frame.
-
Current Frame. Send a single HTTP
request to
http://<host>[:port]/Jpeg/CamImg.jpg
- Indexed Frame. The camera appears to
buffer a number of images (I have no idea how many) which may be
retrieved using an index number. Send a single HTTP request
to
http://<host>[:<port>]/Jpeg/CamImg<ms since 1970><random number><frame index>.jpg
The current frame index may be retrieved using the GetStatus
command (see below).
1.2. Response
The camera will respond with the JPEG data. The Content-Type of the response will be image/jpeg.
API Reference Table of Contents |