Acquiring Jpeg From Vn-E4 Via Http; Basic Procedures - JVC VN-E4U - 4 Channel Network Encoder Api Manual

4ch network encoder
Hide thumbs Also See for VN-E4U - 4 Channel Network Encoder:
Table of Contents

Advertisement

1. Acquiring JPEG from VN-E4 via HTTP _

1.1. Basic Procedures

1) The client establishes a TCP connection to port number 8009.
2) The client sends out API.
Example
Note
3) VN-E4 returns a response.
Example
4) VN-E4 sends out JPEG data after returning the response.
5) When the client wants to stop current JPEG transmission, the client disconnects TCP8009.
1. Acquiring JPEG from VN-E4 via HTTP
GET /api/video?input=1&framerate=30&framesize=vga HTTP/1.1<CRLF>
Host: 10.0.0.1<CRLF><CRLF>
<CRLF> denotes the line feed code (0x0A, 0x0D).
HTTP/1.1 200 OK<CRLF>
Connection: Keep-Alive<CRLF>
Content-Length: 27616<CRLF>
Content-Type: image/jpeg<CRLF>
Date: Fri, 13 MAY 2005 07:33:12 GMT<CRLF>
Server: VN-E4 Jpeg & Audio Server/1.0.0<CRLF>
Keep-Alive: timeout=5, max=5<CRLF>
x-vne4_response:
input=1&framesize=vga&framerate=30&header=0&assured=0&sendbuffer=16<CRLF>
<CRLF>
JPEG files will be sent out continuously. Responses and JPEG data sent out by VN-E4 are as follows.
Responses
JPEG (No. 1)
JPEG (No. 2)
A 12-byte header will be added to the beginning of the JPEG file when header=1 is specified in the API
parameter.
Responses
header (12-byte)
JPEG (No. 1)
header (12-byte)
JPEG (No. 2)
Details on the header structure and JPEG file format will be explained later.
VN-E4 does not accept further API via current TCP that is used for JPEG transmission. To change parameters,
disconnect current TCP to stop the JPEG transmission, connect new TCP, and send API with new parameter.
1.1. Basic Procedures
5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vn-e4

Table of Contents