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&boundary=on&ptz_info=off
HTTP/1.1<CRLF>
Host: 192.168.0.2<CRLF><CRLF>
Note <CRLF> denotes the line feed code (0x0D, 0x0A).
3)
Example
HTTP/1.1 200 OK<CRLF>
Connection: close<CRLF>
Date: Tue, 02 Oct 2007 07:33:12 GMT<CRLF>
Server: JVC
encode=jpeg&framerate=30&framesize=vga&boundary=on&ptz_info=off<CRLF><CRLF>
4) VN-V686 sends out JPEG data after returning HTTP response.
JPEG files with boundary structure will be sent out continuously after HTTP Response as follows.
HTTP Response
JPEG (No. 1) <CRLF>
JPEG (No. 2) <CRLF>
5