Getting Jpeg From Vn-V686 Via Http - JVC VN-V686UAPI Manual

Table of Contents

Advertisement

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 (
3) VN-V686 returns HTTP response.
Example
HTTP/1.1 200 OK<CRLF>
Connection: close<CRLF>
Content-type: multipart/x-mixed-replace;boundary=-foo<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&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. Content-Length
in boundary structure shows file size of each JPEG file. Using the size, reading the whole JPEG data becomes easy.
HTTP Response
-foo<CRLF>
Content-Type: image/jpeg<CRLF>
Content-Length: 31614<CRLF><CRLF>
JPEG (No. 1) <CRLF>
JPEG (No. 1)
-foo<CRLF>
Content-Type: image/jpeg<CRLF>
Content-Length: 32756<CRLF><CRLF>
JPEG (No. 2) <CRLF>
).
0x0D, 0x0A
5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vn-v686u

Table of Contents