JVC VN-V686UAPI Manual page 12

Table of Contents

Advertisement

Details of MPEG-4 stream is explained later.
5) When the client wants to stop current MPEG-4 transmission, the client disconnects TCP80.
VN-V686 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
GET
space
Host:
space
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>
Parameter value is indicated using =. Do not insert space before and after =.
Example
encode=mpeg4
Parameter Description
encode For specifying compression format. For example, specify as encode=mpeg4 to get MPEG-4.
ptz_info To add pan/tilt/zoom information before MPEG-4 VOP data. Specify on or off. Even if ptz_info=off,
pan/tilt/zoom information is stored in JPEG comment segemnt.
2.3. Response
When API is successfully received
VN-V686 will return 200 OK. The x-vnv686_response line indicates actual parameter.
Example
HTTP/1.1 200 OK<CRLF>
Connection: close<CRLF>
Content-Type: video/mp4v-es<CRLF>
Date: Tue, 02 Oct 2007 07:33:12 GMT<CRLF>
API
IP Address of VN-V686
space
HTTP/1.1
0x0D 0x0A 0x0D 0x0A
12
0x0D 0x0A

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vn-v686u

Table of Contents