1. Getting JPEG from VN-V686 via HTTP

1.1. Basic Procedures

1)The client establishes a TCP connection to port number 80.

2)The client sends out API.

Example

GET /api/video?encode=jpeg&framerate=30&ptz_info=off HTTP/1.1<CRLF>

Host: 192.168.0.2<CRLF><CRLF>

Note <CRLF> denotes the line feed code (0x0D, 0x0A).

3)VN-V686 returns HTTP response.

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>

x-vnv25_response:

encode=jpeg&framerate=30&framesize=vga&ptz_info=off<CRLF><CRLF>

4) VN-V686 sends out JPEG data after returning HTTP response.

When ptz_info=off is specified, JPEG files will be sent out continuously after HTTP Response are as follows.

HTTP Response

JPEG (No. 1)

JPEG (No. 2)

,,,

When ptz_info=on is specified, boundary, pan/tilt/zoom information and JPEG file will be sent out continuously after HTTP Response are as follows.

5

Page 5
Image 5
JVC VN-V686U manual Getting Jpeg from VN-V686 via Http, Basic Procedures