Range of X-Puls-Pan is from 0 to 35999.

Range of X-Puls-Tilt is from 0 to 19000. 0 corresponds to -5 degrees and 19000 corresponds to 185 degrees. 500 and 18500 mean horizontal.

Range of X-Posi-Zoom is from 0 to 9999.

Details of JPEG file format is explained later.

5) When the client wants to stop current JPEG transmission, the client disconnects TCP80. VN-V685/686/686B does not accept further API via current TCP that is used for JPEG transmission. To change parameter, disconnect current TCP to stop the JPEG transmission, connect new TCP, and send API with new parameter.

1.2.API Format Structure

GET

space

API

space

 

HTTP/1.1

0x0D 0x0A

Host:

space

IP Address of VN-V685/686/686B

0x0D 0x0A 0x0D 0x0A

 

 

 

 

 

 

 

 

 

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&boundary=on&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-V685/686/686B sends 1 frame of JPEG data, and disconnect the

7

Page 7
Image 7
JVC 686BU, 686U, VN-V685U manual API Format Structure, Parameter Description