Unlike APIs for getting/setting parameters, Accept line is not required. Basic authentication is also not necessary.
Example
GET /api/video?encode=jpeg&framerate=30&ptz_info=off HTTP/1.1<CRLF>
Host: 192.168.0.2<CRLF><CRLF>
Parameter value is indicated using =. Do not insert space before and after =.
Example framerate=1
Parameter Description
encode For specifying compression format. For example, specify as encode=jpeg to get JPEG.
framerate For specifying the frame rate. For example, specify as framerate=5 to get at 5 fps. Specify as framerate=-
5 to get at 1/5 fps, or in other words, 1 frame in 5 seconds. Selection range is as follows.
30, 25, 15, 10, 7.5, 6, 5, 3, 2, 1, 0, -2, -3, -5, -10, -15, -20, -30, -60
When the parameter is specified as framerate=0, VN-V686 sends 1 frame of JPEG data, and disconnect the TCP
connection.
ptz_info To add pan/tilt/zoom information before JPEG data. Specify on or off. Even if ptz_info=off, pan/tilt/zoom
information is stored in JPEG comment segemnt.
1.3. ResponseWhen API is successfully received
VN-V686 will return 200 OK. Content-length indicates file size of first JPEG in bytes. The x-vnv686_response line
indicates actual parameter.
Example
HTTP/1.1 200 OK<CRLF>
Connection: close<CRLF>
Content-Length: 27616<CRLF>
Content-type: image/jpeg<CRLF>
Date: Tue, 02 Oct 2007 07:33:12 GMT<CRLF>
Server: JVC VN-V686 Network Camera<CRLF>
7

GET APIspace space HTTP/1.1

0x0D 0x0A 0x0D 0x0A

0x0D 0x0A

Host: space IP Address of VN-V686