12
Example of Booundary and pan/tilt/zoom information:
--foo<CRLF>
Content-Type: image/jpeg<CRLF>
Content-Length: 5914<CRLF>
X-Puls-Pan: 0<CRLF>
X-Puls-Tilt: 0<CRLF>
X-Posi-Zoom: 0<CRLF><CRLF>
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 MPEG-4 stream is explained later.
5) When the client wants to stop current MPEG-4 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 MPEG-4 transmission, connect new TCP, and send API with new
parameter.
2.2. API Format Structure
Unlike APIs for getting/setting parameters, Accept line is not required. Basic authentication is also not necessary.
Example
GET /api/video?encode=mpeg4&ptz_info=off HTTP/1.1<CRLF>
Host: 192.168.0.2<CRLF><CRLF>
GET
API
space
space
HTTP/1.1
0x0D 0x0A 0x0D 0x0A
Host:
spac
e
IP Address of VN
-
V685/686/686B
,,,