VN-V25U/26U/225U. IP Camera API GUIDE JVC. This document provides a description of protocols and API of VN-V25/26/225.

Similar documents
VN-V25U VN-V26U VN-X35U VN-V225U series VN-X235U series

XIPLED Software User s Manual. For Firmware release V3.5.0.*

1. PRODUCT FEATURES INSTALLATION...

Configuring and Managing the IP Camera

Mega-Pixel IP Network Camera IPD-BX100 IPD-BX110 IPD-DM100

Start Up Guide JVC VN-H37/57 series V4.05 and IndigoVision NVR-AS and ControlCenter4

Encoder Firmware A1D-220-V AC. User s Manual

IP WEB User Manual V2.0

2.01 N : D1 resolution 37x Zoom Outdoor Network Vandal-proof PTZ Security Camera

IP-8151P Vivotek - IP Cameras

WV-NP244. Network Operating Instructions. Network camera. Model No. (Lens is option.)

Configuring and Managing the IP Camera

Configuring and Managing the IP Camera

WV-NP244. Operating Instructions. Network camera. Model No. (Lens is option.)

IPC Online Operation Manual

Basler IP Camera. User s Manual

Pro Series Cameras. Sentry360 Pro Series Configuration Guide

Network Camera User Manual

VITEK OPERATION MANUAL. Virtuoso Series. Virtuoso Series 3.15 MegaPixel Network Cameras

Advanced video processing: Super light Enhancer (SSLE), extreme backlight WDR, Enhanced DIS stabiliser and Defog

Day&Night 1080P 60fps Full HD PTZ Dome IP Camera

30X Day & Night 60fps Full HD PTZ Dome IP Camera

Day & Night Full HD Dome IR IP Camera

Architecture and Engineering Specifications SANYO VCC-HD2500P 4 Megapixel Full-HD Advanced Day/Night CS Box Camera

1,3 Megapixel bullet camera with IR LED. User Manual

Basler IP Fixed Box Cameras. User s Manual for BIP2-XXXXc and BIP2-XXXXc-dn Models

Model No. WV-SP300 Series WV-SP306

IP CAMERA User Manual 695h, 755h, 795h

BU x 486 Pixels x 1536 Pixels. 3-MegaPixel Outdoor 25 meter IR IPCAM. 3.0 MegaPixel Video Quality, 9X Bigger than VGA Resolution

WAT-2400S & WAT-933 User s Manual

Architecture and Engineering Specifications SANYO VCC-HD Megapixel Full-HD Day/Night CS Box Camera

Architecture and Engineering Specifications SANYO VCC-HD4600P 4 Megapixel Full-HD Day/Night 10x AF Zoom Camera

Megapixel Resolution for Excellent Video Quality. Multi-Streaming: Simultaneous H MPEG4 + 3GPP + Motion-JPEG

SNC-DF40P High Resolution Minidome Color Camera with 10/100 Base T Ethernet

QRT-502. IE Operation Manual

Ultra-mini HD SIP PoE IP Camera

BL-VP101. Network Camera

Architecture and Engineering Specifications SANYO VCC-HD Megapixel Full-HD Day/Night 10x AF High Speed Dome Camera

HD 30M IR Range Fixed Dome IP Camera

WV-NF284. Network Operating Instructions. Network Camera. Model No.

VIH Series IP Camera. User s Manual V_

SD CARD ERROR. Network Video Encoder

Installation Instructions Fig. 3 Side View. No. Label Operation

3 MEGAPIXEL DOME SERIES

Network Camera. User s Guide Before operating the unit, please read this manual thoroughly and retain it for future reference.

2.01 N3011: 5.0 Megapixel Vandal-proof 3 10 mm Varifocal 50 ft IR Outdoor Network IP Dome Security Camera

HD IPCameras User's Mannual

AV2105 (2 Megapixel Color Camera) AV2105 AI (2 Megapixel Color Auto Iris Camera) AV2105DN (2 Megapixel Day/Night Camera)

PixelPro User s Manual ZN-D2MAP/ZN-D1MAP/ZN-D1A. Contents

30X Day/Night 60fps Full HD Infrared PTZ IP Camera

WAT-2400S & WAT-933 User s Manual

Features The DF4920HD-DN is a 5-megapixel HD network camera built into a compact and lightweight box housing.

1/3" Sony 1.3 megapixel CMOS sensor Resolution 1280 x 1024 (HD 720p) max. Sensitivity (colour); 0.01Lux (B&W) at F1.2

Basler IP Camera. User s Manual

Network Camera OWNER S MANUAL *5PKA00129Q* Please read this manual carefully before operating your set and retain it for future reference.

20X Day/Night 60fps Full HD Infrared PTZ IP Camera (Coming soon)

SDI Speed Dome Camera OSD Menu

Basler IP Cameras. Premium Image Quality CCD and CMOS Sensors VGA to 5 Megapixels Multi-Streaming and Multi-Encoding MJPEG, MPEG-4, H.

TCM H.264 Megapixel IP PoE Cube Camera Hardware User s Manual. (PoE) Ver. 2011/11/30

Day & Night 1080P HD Auto Focus Dome IP Camera

FCS-1141 H Megapixel PoE Network Camera

WV-NS202. Network Operating Instructions. Network Camera. Model No.

BC820V2. 4MP IP Box Camera with Auto Back Focus

Day & Night 6MP 360 Panorama Dome IR IP Camera

Setup Instructions WV-NS954 WV-NW964

Full HD Network Camera USER MANUAL

Stainless IR IP Dome Camera

Basler IP Fixed Box Cameras NETWORK CAMERAS Premium image quality CCD and CMOS sensors

Operating Instructions WV-S2550L WV-S2250L WV-S1550L. Network Camera WV-S2250L. Model No.

Configuration Options

IFD822V2IR Network indoor fixed dome, mm varifocal, 2 MP, H.264/MJPEG, IR, WDR

Pro7804N1 NVR User Manual

AXIS M2025-LE Network Camera. User Manual

Before attempting to connect or operate this product, please read these instructions carefully and save this manual for future use.

Full HD Multi-Res Compact IP Dome Camera. User Manual

Aegis Electronic Group

HD WDR 10 Zoom IP Camera. User Manual. Ver1.1 00P3H071MZXSEA1

Before attempting to connect or operate this product, please read these instructions carefully and save this manual for future use.

LevelOne. User Manual FCS Megapixel PoE Network Camera. Ver 1.0

Instruction Manual FLIR IP Series. Firmware v2.210

Network Camera. Application Guide 1.8 Before operating the unit, please read this manual thoroughly and retain it for future reference.

EduCam360-B Camera Setup

Basler IP Fixed Box Cameras. User s Manual for BIP2-XXXXc and BIP2-XXXXc-dn Models

Camera Browser Interface

BL860Z1IR Network bullet camera, 3-9 mm AF zoom, 3MP, H.264/MJPEG, P-Iris, IR, WDR, IP66

AV IP Utility Tool Operations Manual

X Series compact fixed HD (720p) resolution network security camera

ON-SCREEN DISPLAY (OSD) GUIDE FOR PRO-T890 HD CAMERA

VS User Manual. 5.0 MP IP Box Camera. Copyright 2016, Marshall Electronics, Inc. All Rights Reserved. This document may not be copied.

Pro71600N3 NVR User Manual

Basler IP Fixed Box Cameras

Cisco Video Surveillance 2421 IP Dome

Cisco Video Surveillance 6500PD IP Camera

Network Camera A&E Specification

LifeSize Passport Configuration Preferences Version 4.7

User Manual IP CAMERA

IS-BL800 User's Manual

B. Manufacturer shall warrant the camera to be free from defects in material and workmanship for two years from the purchase date.

CAMERAS IP START SERIES

The camera shall be based upon standardised components and proven technology generally using open and published protocols.

Transcription:

IP Camera VN-V25U/26U/225U API GUIDE This document provides a description of protocols and API of VN-V25/26/225. 2009.2.3. JVC LST0913-001A Copyright 2009 Victor Company of Japan, Limited All Rights Reserved. 1

Updates Version Date Updates 1.00 2007/11/1 First release. 1.01 2007/11/27 Model Name in JPEG is corrected from VN-V25 to VN-V25U. Description about disconnect of 11th alarm client is corrected. 1.02 2008/1/19 "boudary" in JPEG stream is deleted. Sample value of gamma is corrected. "type=vn-v25" in MPEG-4 is corrected as "type=vn-v25u". APIs of VN-V26U are added. 1.03 2008/4/9 "boudary" option is added to the API for geting JPEG stream. 1.04 2008/9/10 Parameter of Time Zone is fixed. Note about Access Restriction is fixed. Response of boudary=off is fixed. Mic is changed to Mike. 1.05 2008/10/16 API for VSIP setting is added. API for AMX Device Discovery Protocol setting is added. 1.06 2009/2/3 VN-V225 is supported. Password of factory setting is changed to "jvc". API for focus assist setting is added. Audio file playback is added to alarm action setting. IPv6 is supported. API for mode of JPEG streaming is added. 2

Custom Application Software Development Guide VN-V25/26/225 can be used from a custom application software by utilizing the API and protocols for VN-V25/26/225. The following operations are possible. - Getting JPEG from VN-V25/26/225. - Getting MPEG-4 from VN-V25/26/225. - Getting Alarm from VN-V25/26/225. - Getting or changing VN-V25/26/225 settings. - Sending Multicast from VN-V25/26/225. - Getting Audio from VN-V26/225. - Sending Audio to VN-V26/225. - Customization of VN-V25/26/225's built-in viewer. - Customization of VN-V26/225's built-in audio client. 3

Content 1. Getting JPEG from VN-V25/26/225 via HTTP 2. Getting MPEG-4 from VN-V25/26/225 via HTTP 3. API to Search VN-V25/26/225 4. Getting Alarm from VN-V25/26/225 via TCP 5. Using API that Requires Basic Authentication 6. API for Getting/Changing Parameters of VN-V25/26/225 7. Getting Audio from VN-V26/225 via HTTP 8. Sending Audio to VN-V26/225 via HTTP 9. List of Protocols and Port Numbers Used with VN-V25/26/225 10. Customizing VN-V25/26/225's Built-in Viewer 11. Customizing VN-V26/225's Built-in Audio Client 12. FAQ 4

This document describes APIs of VN-V25/26/225. Differences of VN-V25 and VN-V26/225 are as below. Function VN-V25 VN-V26 VN-V225 Low Lux Easy Day&Night B&W Mode (True Day&Night) B&W Mode (True Day&Night) Audio Server none Mike is embedded Audio Input Terminal Audio Output none Audio Output Terminal Audio Output Terminal 1. Getting JPEG from VN-V25/26/225 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 HTTP/1.1<CRLF> Host: 192.168.0.2<CRLF><CRLF> Note <CRLF> denotes the line feed code (0x0D, 0x0A). 3) VN-V25/26/225 returns HTTP response. Example of VN-V26 HTTP/1.1 200 OK<CRLF> Content-type: multipart/x-mixed-replace;boundary=--foo<crlf> Date: Tue, 02 Oct 2008 07:33:12 GMT<CRLF> Server: JVC VN-V26 Network Camera<CRLF> x-vnv26_response: encode=jpeg&framerate=30&framesize=vga&boundary=on<crlf><crlf> 4) VN-V25/26/225 sends out JPEG data after returning HTTP response. JPEG files in boundary structure will be sent out continuously after HTTP response. Each Content-Length is the size of each JPEG data. Using the size, reading the whole data of each JPEG is possible. HTTP Response and JPEG data sent out by VN-V25/26/225 are as follows. 5

HTTP Response --foo<crlf> Content-Type: image/jpeg<crlf> Content-Length: 31614<CRLF><CRLF> JPEG (No. 1) <CRLF> --foo<crlf> Content-Type: image/jpeg<crlf> Content-Length: 32756<CRLF><CRLF> JPEG (No. 2) <CRLF>,,, Details of JPEG file format is explained later. 5) When the client wants to stop current JPEG transmission, the client disconnects TCP80. VN-V25/26/225 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-V25/26/225 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 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 6

Parameters are segmented using &. Do not insert space before and after &. Example encode=jpeg&framerate=30 There is no need to specify all parameters. Default values will be used for parameters that are not specified. 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-V25/26/225 sends 1 frame of JPEG data, and disconnect the TCP connection. boundary For specifying streaming structure. For example, specify as boundary=on to get Server Push structured JPEG. When framerate=0 is specified, Server Push is disabled even if boundary=on is specified. 1.3. Response When API with boundary=on is successfully received VN-V25/26/225 will return 200 OK. The x-vnv25_response or x-vnv26_response line indicates actual parameter. Example of VN-V26 HTTP/1.1 200 OK<CRLF> Content-type: multipart/x-mixed-replace;boundary=--foo<crlf> Date: Tue, 02 Oct 2007 07:33:12 GMT<CRLF> Server: JVC VN-V26 Network Camera<CRLF> x-vnv26_response: encode=jpeg&framerate=30&framesize=vga&boundary=on<crlf><crlf> When API with boundary=off, or API without boundary option is successfully received VN-V25/26/225 will return 200 OK. Content-length indicates file size of first JPEG in bytes. The x-vnv25_response, x-vnv26_response or x-vnv225_response line indicates actual parameter. Example of VN-V26 HTTP/1.1 200 OK<CRLF> Connection: close<crlf> Content-Length: 27616<CRLF> 7

Content-type: image/jpeg<crlf> Date: Tue, 02 Oct 2008 07:33:12 GMT<CRLF> Server: JVC VN-V26 Network Camera<CRLF> x-vnv26_response: encode=jpeg&framerate=30&framesize=vga&boundary=off<crlf><crlf> 1.4. Restrictions Access restriction VN-V25/26/225 has access restriction feature that enables to deny access from a specific IP address. If JPEG is requested from the IP address of access restriction, VN-V25/26/225 disconnects the TCP connection after API is sent. Restriction by maximum bitrate of VN-V25/26/225 The maximum bitrate of VN-V25/26/225 is about 20 Mbps. Number of clients The maximum number of clients that can get JPEG stream depends on encode settings and requests from client. Refer the instruction manual for detailed information. 1.5. JPEG File Format Sent Out by VN-V25/26/225 JPEG file from VN-V25/26/225 is JFIF compliant and consist of the following. FFD8 Start Code FFE0 Application Segment FFFE Comment Segment 1 FFFE Comment Segment 2 (reserved) FFC4 DHT Huffman Table FFDB DQT Quantization Table FFDD DRI Restart Interval FFC0 SOF Frame Information FFDA Data Start Segment FFD9 End Code The following information is stored in the comment segment 1. Each item has a fixed length. Item Size Example Note Version Information 9 JVC V1.0 Indicates the version of information stored in the comment segment. File Size 18 size = 123456 Indicates JPEG size in bytes. Width 13 width = 640 Width of JPEG. Height 14 height = 480 Height of JPEG. Model Name 18 type = VN-V25U Name of model that created the JPEG. (reserved) 12 reverse = 0 (reserved) 8

Time Stamp 70 timestamp = Indicates the time when the JPEG is created. This is made up 20071014130509123 of the year/month/day, hour/minute/second, millisecond and UTC timezone code. (reserved) 13 alarm = 00000000 (reserved) Camera ID 50 camera = input01 Stores camera information set at VN-V25/26/225. Motion Detect Setting 11 motion = 1 Specified as 1 when the motion detect is ON. Motion Detect Result 7 md = 1 Specified as 1 if motion is detected at the time when JPEG is created. Number of Bytes of 18 motion_size = 10 Indicates size of "motion_bit" and "md_bit" items in Following Motion bytes. Detect Items Mask Settings for 24 motion_bit = Indicates Mask settings for 80 blocks in binary data. Motion Detect 00000000000000000 (Not ASCII code.) If the bit is 0, the block is masked. If the 000 bit is 1, the block is not masked. Motion Detect Result 20 md_bit = Indicates motion detect results for 80 blocks in binary of Each Block 00000000000000000 000 data. (Not ASCII code.) If the bit is 0, the block detected motion. If the bit is 1, the block did not detect motion. Item names and values, excluding the version information that does not include =, are stored in the following format. name space = space value (stuffed with 0x00) fixed length for each item Example: When width=640, the 13-byte area will be written as follows. w i d t h = 6 4 0 0x00 0x00 2. Getting MPEG-4 from VN-V25/26/225 via HTTP 2.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=mpeg4 HTTP/1.1<CRLF> Host: 192.168.0.2<CRLF><CRLF> Note <CRLF> denotes the line feed code (0x0D, 0x0A). 3) VN-V25/26/225 returns HTTP response. Example of VN-V25 9

HTTP/1.1 200 OK<CRLF> Connection: close<crlf> Content-Type: video/mp4v-es<crlf> Date: Tue, 02 Oct 2008 07:33:12 GMT<CRLF> Server: JVC VN-V25 Network Camera<CRLF> x-vnv25_response: encode=mpeg4&framerate=15&framesize=vga<crlf><crlf> 4) VN-V25/26/225 sends out MPEG-4 data after returning HTTP response. HTTP Response and MPEG-4 stream sent out by VN-V25/26/225 are as follows. HTTP Response VOP of MPEG-4 (No. 1) VOP of MPEG-4 (No. 2),,, Details of MPEG-4 stream is explained later. 5) When the client wants to stop current MPEG-4 transmission, the client disconnects TCP80. VN-V25/26/225 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 API space HTTP/1.1 0x0D 0x0A Host: space IP Address of VN-V25/26/225 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=mpeg4 HTTP/1.1<CRLF> Host: 192.168.0.2<CRLF><CRLF> 10

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. 2.3. Response When API is successfully received VN-V25/26/225 will return 200 OK. The x-vnv25_response, x-vnv26_response or x-vnv225_response line indicates actual parameter. Example of VN-V25 HTTP/1.1 200 OK<CRLF> Connection: close<crlf> Content-Type: video/mp4v-es<crlf> Date: Tue, 02 Oct 2008 07:33:12 GMT<CRLF> Server: JVC VN-V25 Network Camera<CRLF> x-vnv25_response: encode=mpeg4&framerate=30&framesize=vga<crlf><crlf> 2.4. Restrictions Access restriction VN-V25/26/225 has access restriction feature that enables to deny access from a specific IP address. If MPEG-4 is requested from the IP address of access restriction, VN-V25/26/225 disconnects the TCP connection after API is sent. Restriction by maximum bitrate of VN-V25/26/225 The maximum bitrate of VN-V25/26/225 is about 20 Mbps. Number of clients The maximum number of clients that can get MPEG-4 stream depends on encode settings and JPEG clients. Refer the instruction manual for detailed information. 2.5. MPEG-4 Stream Format Sent Out by VN-V25/26/225 MPEG-4 stream from VN-V25/26/225 is MPEG-4 Part 2(ISO/IEC 14496-2) compliant, level 3 of simple profile. It is a sequence of I-VOPs, or I-VOPs and P-VOPs. I-VOP: Intra frame compressed data P-VOP: Inter frame compressed data with previous frame 11

Ratio of I-VOP and P-VOP depends on I-Frame interval setting. Encode page of Web has the setting. First VOP can be I-VOP or P-VOP. If client want to decode from I-VOP, please skip P-VOP and wait first I-VOP. Example of MPEG-4 stream HTTP Response P-VOP P-VOP P-VOP VOL I-VOP P-VOP There are VOL, Userdata1, GOV and Userdata2 before each I-VOP. Data Structure before I-VOP Item VOL Userdata1 GOV Userdata2 Note VOL of MPEG-4 Video Reserved GOV of MPEG-4 Video Userdata Data Structure of Userdata2 Item Example Note Start Code 0x000001B2 Start code of userdata in MPEG-4 Video Product Name type = VN-V25U Product Name Timestamp timestamp = Year, Month, Day, Hour, Minute, Second, 20070319161455123UTC Millisedond, and Time zone Camera ID camera = Camera01 Camera ID that user can define 3. API to Search VN-V25/26/225 VN-V25/26/225 in LAN can be searched by broadcast packet that includes this API. Search VN-V25/26/225 in LAN 12

Protocol Send udp packet with following text in UDP payload to destination port number 80. Source port number can be any value. system.id<crlf> Response VN-V25/26/225 that received this packet sends udp packet to the source port number of the search packet. UDP payload of response packet has model name, IP address, and subnet mask. VN-V25/26/225 waits 0-0.7 second before sending response to avoid too many responses are sent in short period from many VN-V25/26/225s. Response Example system.id=vn-v25u(192.168.0.2/24)&200 OK<CRLF> 4. Getting Alarm from VN-V25/26/225 4.1. Procedure 1) The client establishes a TCP connection to port number 32040. 2) When motion is detected from the video image of VN-V25/26/225, or when there are changes to the alarm input (make or break), VN-V25/26/225 will send out alarm information in the following format. The first 2 lines indicate the current alarm input status (make or break). The following 1 line indicates whether motion has been detected. peripheral.input_pin.pin(1).status=break<crlf> peripheral.input_pin.pin(2).status=break<crlf> video.input(1).detection(motion).status=on<crlf> 3) The client can disconnect TCP32040 to end the alarm acquisition. 4.2. Restrictions Maximum number of clients The maximum number of clients that may acquire alarm is 10. When a 11th client establishes TCP connection to port number 32040, VN-V25/26/225 disconnects the TCP connection. Additionally, VN-V25/26/225 will also check whether the TCP connection is maintained at regular intervals. VN-V25/26/225 will disconnect the TCP connection if syn exchange is not performed in 10 minutes. Note: API for getting alarm is not restricted by the access restriction function. 5. Using API that Requires Basic Authentication Basic authentication is required for APIs which are explained in Section 6. This section provides general explanation of those APIs. 13

5.1. Procedure 1) The client establishes a TCP connection to port number 80. 2) The client sends API. API has following structure. GET space API Characters space HTTP/1.1 0x0D 0x0A Accept: space text/plain (or text/html) 0x0D 0x0A Host: space IP Address of VN-V25/V26/225 0x0D 0x0A Authorization: Basic space Encoded User Name and Password 0x0D 0x0A 0x0D 0x0A The following is an example of API for Getting subnet mask of VN-V25/26/225. Example GET /api/param?network.interface.subnetmask HTTP/1.1<CRLF> Accept: text/plain<crlf> Host: 192.168.0.2<CRLF> Authorization: Basic YWRtaW46dm4tdjJ4<CRLF><CRLF> Specify the response format by Accept line. Plain text response is returned when this is specified as text/plain. HTML response is returned when text/html is specified. HTML response is returned when Accept is not specified. These APIs for getting/setting parameters are protected by basic authentication. Authorization line needs to include encoded username and password. There are 3 types of usernames, namely admin, operator and user. Available APIs are different for each username. Factory setting of password is as below. username factory setting of password VN-V25/26 VN-V25/26 VN-V225 (before Ver2.00) (Ver2.00 or later) admin vn-v2x jvc jvc operator vn-v2x jvc jvc user vn-v2x jvc jvc Join the user name and the password using a colon, Base64 encode this character string and enter this in the Authorization line. For example, when username and password is as below, User name admin Password vn-v2x the character string joining the user name and the password with a colon is: admin:vn-v2x Base64 encoding of this string yields YWRtaW46dm4tdjJ4. Enter this in the Authorization line. For example, when username and password is as below, 14

User name admin Password jvc the character string joining the user name and the password with a colon is: admin:jvc Base64 encoding of this string yields YWRtaW46anZj. Enter this in the Authorization line. 3) VN-V25/26/225 returns a response to the client. In the following example, current subnet mask is 255.0.0.0. In addition, 255.0.0.0 is followed by & and 200 OK, indicating that getting parameter is successful. Example of VN-V25 HTTP/1.1 200 OK<CRLF> Connection: close<crlf> Content-Length: 80<CRLF> Content-type: text/plain<crlf> Date: Fri, 13 MAY 2005 07:33:12 GMT<CRLF> Server: JVC VN-V25 API Server<CRLF> network.interface.subnetmask=255.0.0.0&200 OK<CRLF> 4) The client disconnects TCP80 to end the use of API. Note: APIs for getting/setting parameters are not restricted by the access restriction function. 6. API for Getting/Changing Parameters of VN-V25/26/225 This section provides description of APIs for getting/changing parameters of VN-V25/26/225. Make use of the API explained in this section in the way as mentioned in Section 5. 6.1. General (1) Getting parameter - Specify API in GET line according to the format below when getting a parameter from VN-V25/26/225. /api/param?parama.paramb.paramc It is possible to get multiple parameters at a time. Connect parameters with &. Do not insert space before and after &. /api/param?parama.paramb.paramc&parama.paramd.parame The upper limit of this character string is 1024 bytes. The maximum number of parameters that can be acquired at a 15

time is 15. Status settings, i.e. network.interface.status, network.dns.status, network.ntp.status, etc., can not be acquired at a time. - When acquisition is successfully completed, values will be shown in the body of HTTP response, followed by "&200 OK" message. Example: ParamA.ParamB.ParamC=Data&200 OK When an error occurs, an error code will be returned instead of indicating a value in the body of HTTP response. Example: ParamA.ParamB.ParamC&401 Unauthorized When multiple gettings are performed at one time, a response will be returned for each setting. ParamA.ParamB.ParamC&200 OK<CRLF> ParamA.ParamB.ParamD&200 OK<CRLF> (2) Setting parameter - Specify API in GET line according to the format below when setting a parameter for VN-V25/26/225. /api/param?parama.paramb.paramc=data Parameter values are indicated using =. Do not insert space before and after =. It is possible to perform multiple settings at a time. Connect parameters with &. Do not insert space before and after &. /api/param?parama.paramb.paramc=data&parama.paramb.paramd=data The upper limit of this character string is 1024 bytes. The maximum number of parameters that can be set at a time is 15. Status settings, i.e. network.interface.status, network.dns.status, network.ntp.status, etc., can not be acquired at a time. - Response will be in the following format. ParamA.ParamB.ParamC&200 OK An error code will be returned when setting is not properly performed. Example: ParamA.ParamB.ParamC&401 Unauthorized When multiple settings are performed at one time, a response will be returned for each setting. ParamA.ParamB.ParamC&200 OK<CRLF> ParamA.ParamB.ParamD&200 OK<CRLF> 16

6.2. Camera These APIs are related to camera settings. Same functions are shown on the Camera page of the WEB setting page. Refer to the instruction manual for details on the Camera page. Saving Changes of Camera Settings Format /api/param?canera.status=data Example /api/param?canera.status=save Example of response canera.status&200 OK Interpretation Save or cancel changes to camera settings. Specify save or restore. By status=save, changes to camera settings are saved. If not saved, the changes are restored by power off of VN-V25/26/225. By status=restore, changes to camera settings are restored. Getting Camera ID stored in JPEG from VN-V25/26/225 Format /api/param?camera.id Example of response camera.id=vn-v25&200 OK Response example when setting field is left blank camera.id=&200 OK Interpretation Acquire Camera ID comment. This comment is stored in comment segment of JPEG. The Camera ID is used as sender's display name of alarm mail. If you want to set sender's mail address, see "Setting Sender Mail Address for VN-V25/26/225". Example of response camera.id=camera01&200 OK Sender Camera01<somename@somecompany.com>, user Setting Camera ID in JPEG from VN-V25/26/225 Format /api/param?camera.id=data Example /api/param?camera.id=camera01 Example when setting as blank /api/param?camera.id=%00 Example of response camera.id&202 Accepted(camera.status=save) Interpretation Change the camera ID stored in comment segment of JPEG. Maximum size is 40 bytes. To set as blank, specify as %00(0x25, 0x30, 0x30). To use space, specify as %20(0x25, 0x32, 0x30). If you want to set "Comment In JPEG" for example, specify as follows. /api/param?camera.id=comment%20in%20jpeg The Camera ID is used as sender's display name of alarm mail. If you want to set sender's mail address, see "Setting Sender Mail Address for VN-V25/26/225". 17

Example of setting /api/param?camera.id=camera01 Sender Camera01<somename@somecompany.com> The change is saved by the API, camera.status=save. If the change is not saved, the setting is restored by reboot. Getting Monitor Type from VN-V25/26/225 Format /api/param?camera.image.monitortype Example of response camera.image.monitortype=lcd1&200 OK Interpretation Acquire the monitor type setting. Value is custome, lcd1, lcd2 or crt. When lcd1, lcd2 or crt is set, enhance band setting and gamma setting are ignored., user Setting Monitor Type for VN-V25/26/225 Format /api/param?camera.image.monitortype=data Example of setting a value /api/param?image.monitortype=crt Example of response camera.image.monitortype&202 Accepted(camera.status=save) Interpretation Change the monitor type setting. Specify custome, lcd1, lcd2 or crt. Selecting lcd1 or lcd2 can improve image on LCD display. Selecting crt can improve image on CRT monitor. When lcd1, lcd2 or crt is set, enhance band setting and gamma setting are ignored. The change is saved by the API, camera.status=save. If the change is not saved, the setting is restored by reboot. Getting Black level from VN-V25/26/225 Format /api/param?camera.image.pedestal Example of response camera.image.pedestal=50&200 OK Interpretation Acquire black level setting. Range of pedestal is between 0 to 100, and it is mapped to 3 internal levels. The larger the value, the brighter will be the black., user Setting Black level for VN-V25/26/225 Format /api/param?camera.image.pedestal=data Example of setting a value /api/param?camera.image.pedestal=50 Example of 1 step change /api/param?camera.image.pedestal=+ Example of response camera.image.pedestal&202 Accepted(camera.status=save) Interpretation Change pedestal setting. Specify 0 to 100, "+" or "-". The value is mapped to 3 internal levels. It becomes brighter 1 step by specifying "+", darker 1 step by specifying "-". The change is saved by the API, 18

camera.status=save. If the change is not saved, the setting is restored by reboot. Getting Gamma from VN-V25/26/225 Format /api/param?camera.image.gamma Example of response camera.image.gamma=0.45&200 OK Interpretation Acquire gamma setting. Value of gamma is 1, 0.6, 0.55, 0.5, 0.45, 0.4, 0.35, or 0.3. Default value is 0.45. When lcd1, lcd2 or crt is set to monitor type, gamma setting is ignored., user Setting Gamma for VN-V25/26/225 Format /api/param?camera.image.gamma=data Example of setting a value /api/param?camera.image.gamma=0.45 Example of 1 step change /api/param?camera.image.gamma=+ Example of response camera.image.gamma&202 Accepted(camera.status=save) Interpretation Change gamma setting. Specify 1, 0.6, 0.55, 0.5, 0.45, 0.4, 0.35, 0.3, "+" or "-". It becomes darker 1 step by specifying "+", brighter 1 step by specifying "-". The change is saved by the API, camera.status=save. If the change is not saved, the setting is restored by reboot. When lcd1, lcd2 or crt is set to monitor type, gamma setting is ignored. Getting Enhance Band from VN-V25/26/225 Format /api/param?camera.image.enhance.band Example of response camera.image.enhance.band=high&200 OK Interpretation Acquire enhance band setting. Value of enhance band is high or low. When lcd1, lcd2 or crt is set to monitor type, enhance band setting is ignored., user Setting Enhance Band for VN-V25/26/225 Format /api/param?camera.image.enhance.band=data Example of setting a value /api/param?camera.image.enhance.band=low Example of response camera.image.enhance.band&202 Accepted(camera.status=save) Interpretation Change enhance band setting. Specify high or low. The change is saved by the API, camera.status=save. If the change is not saved, the setting is restored by reboot. When lcd1, lcd2 or crt is set to monitor type, enhance band setting is ignored. 19

Getting Enhance from VN-V25/26/225 Format /api/param?camera.image.enhance Example of response camera.image.enhance=50&200 OK Interpretation Acquire enhance setting. Range of enhance is between 0 to 100, and it is mapped to 11 internal levels. The larger the value, the sharper will be the image., user Setting Enhance for VN-V25/26/225 Format /api/param?camera.image.enhance=data Example of setting a value /api/param?camera.image.enhance=50 Example of 1 step change /api/param?camera.image.enhance=+ Example of response camera.image.enhance&202 Accepted(camera.status=save) Interpretation Change enhance setting. Specify 0 to 100, "+" or "-". The value is mapped to 11 internal levels. It becomes sharper 1 step by specifying "+", softer 1 step by specifying "-". The change is saved by the API, camera.status=save. If the change is not saved, the setting is restored by reboot. Getting Color Level from VN-V25/26/225 Format /api/param?camera.image.color Example of response camera.image.color=50&200 OK Interpretation Acquire color level value. Range of color level is between 0 to 100. The value is mapped to 11 internal levels. The larger the value, the stronger will be the color., user Setting Color Level for VN-V25/26/225 Format /api/param?camera.image.color=data Example of setting a value /api/param?camera.image.color=50 Example of 1 step change /api/param?camera.image.color=+ Example of response camera.image.color&202 Accepted(camera.status=save) Interpretation Change color level value. Specify 0 to 100, "+" or "-". The value is mapped to 11 internal levels. The larger the value, the stronger will be the color. It becomes stronger 1 step by specifying "+", softer 1 step by specifying "-". The change is saved by the API, camera.status=save. If the change is not saved, the setting is restored by reboot. 20

Getting AGC from VN-V25/26/225 Format /api/param?camera.image.brightness Example of response camera.image.brightnesss=autol&200 OK Interpretation Acquire AGC setting. "manual", "autol", "autom" or "autoh" is returned., user Setting AGC for VN-V25/26/225 Format /api/param?camera.image.brightness=data Example /api/param?camera.image.brightness=auto Example of response camera.image.brightness&202 Accepted(camera.status=save) Interpretation Change AGC setting. Specify "manual", "autol", "autom" or "autoh". The change is saved by the API, camera.status=save. If the change is not saved, the setting is restored by reboot. Getting Limit of Sense Up from VN-V25/26/225 Format /api/param?camera.image.senseup_limit Example of response camera.image.senseup_limit=0&200 OK Interpretation Acquire limit of sense up. 0, 2, 4, 8, 16, 32 or 62 is returned. 0 means sense up is disabled. Other numbers mean frame number of sense up., user Setting Limit of Sense Up for VN-V25/26/225 Format /api/param?camera.image.senseup_limit=data Example /api/param?camera.image.senseup_limit=4 Example of response camera.image.senseup_limit&202 Accepted(camera.status=save) Interpretation Change limit of sense up. Specify 0, 2, 4, 8, 16, 32, 62, "+" or "-". It becomes bigger 1 step by specifying "+", smaller 1 step by specifying "-". The change is saved by the API, camera.status=save. If the change is not saved, the setting is restored by reboot. Getting ALC priority from VN-V25/26/225 Format /api/param?camera.auto_exposure.priority Example of response camera.auto_exposure.priority=motion&200 OK Interpretation Acquire ALC priority. ALC priority decides what is used first for auto exposure. "motion" or "quality" is returned. In case of "motion", AGC is used before using sense up. In case of "quality", sense up is used 21

before using AGC., user Setting ALC priority for VN-V25/26/225 Format /api/param?camera.auto_exposure.priority=data Example /api/param?camera.auto_exposure.priority=quality Example of response camera.auto_exposure.priority&202 Accepted(camera.status=save) Interpretation Change ALC priority. ALC priority decides what is used first for auto exposure. Specify "motion" or "quality". In case of "motion", AGC is used before using sense up. In case of "quality", sense up is used before using AGC. The change is saved by the API, camera.status=save. If the change is not saved, the setting is restored by reboot. Getting Shutter Speed from VN-V25/26/225 Format /api/param?camera.shutter Example of response camera.shutter=60&200 OK Interpretation Acquire shutter speed setting. "auto", 30, 50, 60, 100, 250, 500, 1000, 2000, 4000, 10000 or "flickerless" is returned. For example, 60 means shutter speed 1/60. In case of "flickerless", the shutter speed that avoids flicker is selected automatically., user Setting Shutter Speed for VN-V25/26/225 Format /api/param?camera.shutter=data Example of setting a value /api/param?camera.shutter=60 Example of 1 step change /api/param?camera.shutter=+ Example of response camera.shutter&202 Accepted(camera.status=save) Interpretation Change shutter speed setting. Specify "auto", 30, 50, 60, 100, 250, 500, 1000, 2000, 4000, 10000 or "flickerless", "+" or "-". To set 1/60 for example, specify 60. It becomes shorter 1 step by specifying "+", longer 1 step by specifying "-". The change is saved by the API, camera.status=save. If the change is not saved, the setting is restored by reboot. Getting Easy Day and Night from VN-V25 (VN-V25 Only) Format /api/param?camera.image.brightness.highgain Example of response camera.image.brightness.highgain=off&200 OK Interpretation Acquire Easy Day and Night setting. "on" or "off" is returned. 22

, user Setting Easy Day and Night for VN-V25 (VN-V25 Only) Format /api/param?camera.image.brightness.highgain=data Example /api/param?camera.image.brightness.highgain=on Example of response camera.image.brightness.highgain&202 Accepted(camera.status=save) Interpretation Change Easy Day and Night setting. Specify "on" or "off". The change is saved by the API, camera.status=save. If the change is not saved, the setting is restored by reboot. Getting B&W Mode (True Day&Night) from VN-V26/225 Format /api/param?camera.image.true_daynight (VN-V26/225 Only) Example of response camera.image.true_daynight=color&200 OK Interpretation Acquire B&W mode setting. "color", "bw", "autoh", "autom" or "autol" is returned. "color" enables IR filter and image becomes color. "bw" disables IR filter and image becomes black and white. When the setting is "autoh", "autom" or "autol", IR filter is enabled or disabled according to image brightness. To use "autoh", "autom" or "autol", set AGC to "autoh"., user Setting B&W Mode (True Day&Night) for VN-V26/225 Format /api/param?camera.image.true_daynight=data (VN-V26/225 Only) Example /api/param?camera.image.true_daynight=auto Example of response camera.image.true_daynight&202 Accepted(camera.status=save) Interpretation Change B&W mode setting. Specify "color", "bw", "autoh", "autom" or "autol". "color" enables IR filter and image becomes color. "bw" disables IR filter and image becomes black and white. When the setting is "autoh", "autom" or "autol", IR filter is enabled or disabled according to image brightness. To use "autoh", "autom" or "autol", set AGC to "autoh". The change is saved by the API, camera.status=save. If the change is not saved, the setting is restored by reboot. Getting Auto Exposure Reference from VN-V25/26/225 Format /api/param?camera.auto_exposure.reference Example of response camera.auto_exposure.reference=0&200 OK Interpretation Acquire auto exposure reference. A number from -9 to 6 is returned. When the number is bigger, 23

image becomes brighter., user Setting Auto Exposure Reference for VN-V25/26/225 Format /api/param?camera.auto_exposure.reference=data Example /api/param?camera.auto_exposure.reference=0 Example of response camera.auto_exposure.reference&202 Accepted(camera.status=save) Interpretation Change auto exposure reference. Specify a number from -9 to 6, or "+", "-". When the number is bigger, image becomes brighter. The change is saved by the API, camera.status=save. If the change is not saved, the setting is restored by reboot. Getting White Balance from VN-V25/26/225 Format /api/param?camera.image.white_balance Example of response camera.image.white_balance=auto&200 OK Interpretation Acquire white balance setting. "auto" or "manual" is returned., user Setting White Balance for VN-V25/26/225 Format /api/param?camera.image.white_balance=data Example /api/param?camera.image.white_balance=auto Example of response camera.image.white_balance&202 Accepted(camera.status=save) Interpretation Change white balance setting. Specify "auto" or "manual". If "op_auto" is specified, one push auto white balance control is done, and setting becomes "manual". The change is saved by the API, camera.status=save. If the change is not saved, the setting is restored by reboot. Getting R-Gain of White Balance from VN-V25/26/225 Format /api/param?camera.image.white_balance.r Example of response camera.image.white_balance.r=s85&200 OK Interpretation Acquire R-gain of white balance setting. s0 to s255 is returned. The s before number means "step". Default value is s85., user Setting R-Gain of White Balance for VN-V25/26/225 24

Format /api/param?camera.image.white_balance.r=data Example of response camera.image.white_balance.r&202 Accepted(camera.status=save) Interpretation Change R-gain white balance setting. Specify s0 to s255. The s before number means "step". Default value is s85.the change is saved by the API, camera.status=save. If the change is not saved, the setting is restored by reboot. Getting B-Gain of White Balance from VN-V25/26/225 Format /api/param?camera.image.white_balance.b Example of response camera.image.white_balance.b=s219&200 OK Interpretation Acquire B-gain of white balance setting. s0 to s255is returned. The s before number means "step". Default value is s219., user Setting B-Gain of White Balance for VN-V25/26/225 Format /api/param?camera.image.white_balance.b=data Example of response camera.image.white_balance.b&202 Accepted(camera.status=save) Interpretation Change B-gain white balance setting. Specify s0 to s255. The s before number means "step". D efault value is s219.the change is saved by the API, camera.status=save. If the change is not saved, the setting is restored by reboot. Getting Back Light Compensation from VN-V25/26/225 Format /api/param?camera.image.blc Example of response camera.image.blc=off&200 OK Interpretation Acquire Back Light Compensation setting. "off", "a", "b", "c" or "d" is returned. Refer the instruction manual for detailed information of "a", "b", "c" and "d"., user Setting Back Light Compensation for VN-V25/26/225 Format /api/param?camera.image.blc=data Format of setting ON /api/param?camera.image.blc=a Example of response camera.image.blc&202 Accepted(camera.status=save) Interpretation Change Back Light Compensation setting. Specify "off", "a", "b", "c" or "d". Refer the instruction 25

manual for detailed information of "a", "b", "c" and "d". The change is saved by the API, camera.status=save. If the change is not saved, the setting is restored by reboot. Getting Focus Assist status from VN-V25/26/225 Format /api/param?camera.focusassist.status Example of response camera.focusassist.status=off&200 OK Interpretation Acquire status of focus assist. "off" or "on" is returned. Focus assist is available for VN-V26(version 2.00 or later) and VN-V225. When focus assist is on, iris becomes open and enhance level becomes max., user Setting Focus Assist status for VN-V25/26/225 Format /api/param?camera.focusassist.status=data Format of setting ON /api/param?camera.focusassist.status=on Example of response camera.focusassist.status&200 OK Interpretation Change focus assist status. Specify "off" or "on". Focus assist is available for VN-V26(version 2.00 or later) and VN-V225. By specifying "on", iris becomes open and enhance level becomes max. By specifying "off", iris and enhance level are resumed. When 3 minutes passed from setting "on", focus assist is disabled automatically. The focus assist by the API is for JPEG/MPEG-4 stream, not for analog video output. To use focus assist for analog video output, refer to the READ ME FIRST sheet. 6.3. Encoding These APIs are related to JPEG or MPEG-4 encoding. These are equivalent to the features on the Encoding page of the WEB setting page. Refer to the instruction manual for details on the Encoding page. Saving Changes of Encode Settings for VN-V25/26/225 Format /api/param?encode(1).status=save or /api/param?encode(2).status=save Example of response encode(1).status&200 OK Interpretation Save changes to encode settings. All JPEG and MPEG-4 settings are saved. If not saved, the changes are restored by power off of VN-V25/26/225. Getting JPEG Frame Size from VN-V25/26/225 Format /api/param?encode(1).framesize 26

Example of response encode(1).framesize=vga&200 OK Interpretation Acquire JPEG frame size setting. "vga" or "qvga" is returned., user Setting JPEG Frame Size for VN-V25/26/225 Format /api/param?encode(1).framesize=data Example /api/param?encode(1).framesize=qvga Example of response encode(1).framesize&202 Accepted(encode(1).status=save) Interpretation Change JPEG frame size. Specify "vga" or "qvga". File size setting is changed automatically when frame size is changed. If frame size is changed from vga to qvga, file size is changed to third part of original size. If frame size is changed from qvga to vga, file size is changed to three times size. When frame size of JPEG and MPEG-4 are same, privacy masking is available for both compression. When they are not same, compression on QVGA can have privacy masking. The change is saved by the API, encode(1).status=save. If the change is not saved, the setting is restored by reboot. Getting JPEG Rate Control Setting from VN-V25/26/225 Format /api/param?encode(1).cbr_mode Example of response encode(1).cbr_mode=afs&200 OK Interpretation Acquire the rate control setting of JPEG. Quantization table is fixed in the case of vfs (VariableFileSize). In the case of afs (AverageFileSize), bit rates are controlled such that the average size of multiple files remains constant., user Setting JPEG Rate Control for VN-V25/26/225 Format /api/param?encode(1).cbr_mode=data Example /api/param?encode(1).cbr_mode=vfs Example of response encode(1).cbr_mode&202 Accepted(encode(1).status=save) Interpretation Change rate control of JPEG. Rate control can be set to vfs or afs. In vfs (VariableFileSize), quantization table is fixed. In afs (AverageFileSize), average file size of multiple JPEGs is controlled to be constant. The change is saved by the API, encode(1).status=save. If the change is not saved, the setting is restored by reboot. Getting JPEG File Size Setting from VN-V25/26/225 Format /api/param?encode(1).quality Example of response encode(1).quality=40k&200 OK 27

Interpretation Acquire the file size setting of JPEG. If the response is 40k for example, the setting is 40KB., user Setting JPEG File Size Setting for VN-V25/26/225 Format /api/param?encode(1).quality=data Example /api/param?encode(1).quality=30k Example of response encode(1).quality&202 Accepted(encode(1).status=save) Interpretation Change the file size setting of JPEG. The unit of set values is in KB. VN-V25/26/225 will perform rate control with this file size as the target. When frame size is VGA, setting between the range of 10k to 100k is possible. When frame size is QVGA, setting between the range of 3k to 33k is possible. When VFS (VariableFileSize) is specified for rate control at the WEB setting page, 7 levels will be available for selection. Each of these choices corresponds to the file sizes as follows. Level File Size Setting for VGA File Size Setting for QVGA 1 80k 27k 2 60k 20k 3 40k 13k 4 30k 10k 5 25k 8k 6 20k 7k 7 15k 5k When rate control is set to vfs and a file size that is not stated above is specified, the closest choice will be displayed on the WEB setting page. The change is saved by the API, encode(1).status=save. If the change is not saved, the setting is restored by reboot. Getting MPEG-4 Frame Size from VN-V25/26/225 Format /api/param?encode(2).framesize Example of response encode(2).framesize=vga&200 OK Interpretation Acquire MPEG-4 frame size setting. "vga" or "qvga" is returned., user Setting MPEG-4 Frame Size for VN-V25/26/225 Format /api/param?encode(2).framesize=data Example /api/param?encode(2).framesize=qvga Example of response encode(2).framesize&202 Accepted(encode(1).status=save) Interpretation Change MPEG-4 frame size. Specify "vga" or "qvga". 28

When frame size of JPEG and MPEG-4 are same, privacy masking is available for both compression. When they are not same, compression on QVGA can have privacy masking. The change is saved by the API, encode(2).status=save. If the change is not saved, the setting is restored by reboot. Getting MPEG-4 bitrate Setting from VN-V25/26/225 Format /api/param?encode(2).bitrate Example of response encode(2).bitrate=8000000&200 OK Interpretation Acquire the bitrate setting of MPEG-4. If the response is 8000000 for example, the setting is 8Mbps., user Setting MPEG-4 bitrate Setting for VN-V25/26/225 Format /api/param?encode(2).bitrate=data Example /api/param?encode(2).bitrate=2000000 Example of response encode(2).bitrate&202 Accepted(encode(2).status=save) Interpretation Change the bitrate setting of MPEG-4. Specify from 64000 to 8000000. The change is saved by the API, encode(2).status=save. If the change is not saved, the setting is restored by reboot. Getting MPEG-4 Rate Control Setting from VN-V25/26/225 Format /api/param?encode(2).cbr_mode Example of response encode(2).cbr_mode=cbr&200 OK Interpretation Acquire the rate control setting of MPEG-4. "cbr" or "vbr" is returned. Bitrate is controlled to be constant in the case of cbr (Constant Bitrate). In the case of vbr (Variable Bitrate), bitrate can be larger by input image., user Setting MPEG-4 Rate Control for VN-V25/26/225 Format /api/param?encode(2).cbr_mode=data Example /api/param?encode(2).cbr_mode=vbr Example of response encode(2).cbr_mode&202 Accepted(encode(2).status=save) Interpretation Change rate control of MPEG-4. Rate control can be set to cbr or vbr. Bitrate is controlled to be constant in the case of cbr (Constant Bitrate). In the case of vbr (Variable Bitrate), bitrate can be larger by input image. If vbr is set, frame rate of MPEG-4 becomes 30fps. The change is saved by the API, encode(2).status=save. If the change is not saved, the setting is restored by reboot. 29

Getting MPEG-4 Frame Rate Setting from VN-V25/26/225 Format /api/param?encode(2).framerate Example of response encode(2).framerate=15&200 OK Interpretation Acquire frame rate of MPEG-4 encoding., user Setting MPEG-4 Frame Rate Setting for VN-V25/26/225 Format /api/param?encode(2).framerate=data Example /api/param?encode(2).framerate=30 Example of response encode(2).framerate&202 Accepted(encode(2).status=save) Interpretation Change frame rate of MPEG-4. Specify 30, 25, 15, 10, 7.5, or 1. If vbr is set to MPEG-4 rate control, frame rate of MPEG-4 becomes 30fps. If I-Frame interval is not 30, 60, 120, 150, 180, 210 or 240, real frame rate becomes larger than the setting. Refer I-Frame interval API for details. The change is saved by the API, encode(2).status=save. If the change is not saved, the setting is restored by reboot. Getting MPEG-4 I-Frame Interval Setting from VN-V25/26/225 Format /api/param?encode(2).iframeinterval Example of response encode(2).iframeinterval=30&200 OK Interpretation Acquire I-Frame interval of MPEG-4 encoding., user Setting MPEG-4 I-Frame Interval Setting for VN-V25/26/225 Format /api/param?encode(2).iframeinterval=data Example /api/param?encode(2).iframeinterval=30 Example of response encode(2).iframeinterval&202 Accepted(encode(2).status=save) Interpretation Change I-Frame interval of MPEG-4. Specify 1 to 255. If I-Frame interval is 30, 60, 120, 150, 180, 210 or 240, real frame rate is as frame rate setting. If I-Frame interval is not 30, 60, 120, 150, 180, 210 or 240, real frame rate becomes larger than the setting because I-Frame can not be skipped. If I-Frame setting is 1, all frames become I-Frame and frame rate becomes 30fps. The change is saved by the API, encode(2).status=save. If the change is not saved, the setting is restored by reboot. Getting MPEG-4 Priority Setting from VN-V25/26/225 Format /api/param?encode(2).priority Example of response encode(2).priority=motion&200 OK 30

Interpretation Acquire priority of MPEG-4 encoding. "motion" or "quality" is returned., user Setting MPEG-4 Priority Setting for VN-V25/26/225 Format /api/param?encode(2).priority=data Example /api/param?encode(2).priority=motion Example of response encode(2).priority&202 Accepted(encode(2).status=save) Interpretation Change priority of MPEG-4. Specify "motion" or "quality". To keep frame rate, select "motion". To keep image quality, select "quality". The change is saved by the API, encode(2).status=save. If the change is not saved, the setting is restored by reboot. 6.4. Audio Setting (VN-V26/225 Only) The APIs below are related to audio setting. These are equivalent to the features on the Audio page of the WEB setting page. Refer to the instruction manual for details on the Audio page. Getting Audio Duplex Mode from VN-V26/225 Format /api/param?audio.input(1).halfduplex Example of response audio.input(1).halfduplex=on&200 OK Interpretation Acquire audio duplex mode. "on" or "off" is returned. When the setting is "on", audio from VN-V26/225 is muted during a client is sending audio to VN-V26/225. By setting "on", howling/echo can be suppressed., user Setting Audio Duplex Mode for VN-V26/225 Format /api/param?audio.input(1).halfduplex=data Example /api/param?audio.input(1).halfduplex=on Example of response audio.input(1).halfduplex&200 OK Interpretation Change audio duplex mode. Specify "on" or "off". When the setting is "on", audio from VN-V26/225 is muted during a client is sending audio to VN-V26/225. By setting "on", howling/echo can be suppressed. Getting Mike/Audio Input Gain from VN-V26/225 Format /api/param?audio.input(1).gain Example of response audio.input(1).gain=32&200 OK 31

Interpretation Acquire mike gain of VN-V26 or audio input gain of VN-V225. VN-V26 returns "0", "20", "26" or "32". VN-V225 returns "0", "20", "26", "32", or "agc". "32" means 32 db., user Setting Mike/Audio Input Gain for VN-V26/225 Format /api/param?audio.input(1).gain=data Example /api/param?audio.input(1).gain=32 Example of response audio.input(1).gain&200 OK Interpretation Change mike gain of VN-V26 or audio input gain of VN-V225. "0", "20", "26" or "32" are available for VN-V26. "0", "20", "26", "32" or "agc" are available for VN-V225. "32" measn 32 db. Getting Mike Power Supply setting from VN-V225 (VN-V225 only) Format /api/param?audio.input(1).powersupply.status Example of response audio.input(1).powersupply.status=on&200 OK Interpretation Acquire mike power supply setting. "on" or "off" is returned., user Setting Mike Power Supply for VN-V225 (VN-V225 only) Format /api/param?audio.input(1).powersupply.status=data Example /api/param?audio.input(1).powersupply.status=32 Example of response audio.input(1).powersupply.status&200 OK Interpretation Change mike power supply setting. Specify "on" or "off". 6.5. Alarm Setting The APIs below are related to alarm setting. These are equivalent to the features on the Alarm page of the WEB setting page. Refer to the instruction manual for details on the Alarm page. Getting On/Off of Alarm Action from VN-V25/26/225 Format /api/param?application.event(number).status Example When Getting the on/off status of alarm action No. 1 /api/param?application.event(1).status Example of response application.event(1).status=on&200 OK Interpretation Acquire the on/off status of the alarm action for the specified alarm action number. 5 alarm actions and 1 periodic FTP assigned to No.6 are available, so alarm action number can be 1 to 6. Note that alarm numbers are 32

different from the alarm input pin numbers. Either on or off is returned. Setting On/Off of Alarm Action, or Enabling Changes to Alarm Action for VN-V25/26/225 Format /api/param?application.event(number).status=data Example When setting alarm action No. 1 to off /api/param?application.event(1).status=off Example of response application.event(1).status&200 OK Interpretation Set the alarm action of the specified alarm action number to on/off, or enable changes to the alarm action. 5 alarm actions and 1 periodic FTP assigned to No.6 are available, so alarm action number can be 1 to 6. Note that alarm numbers are different from the alarm input pin numbers. Either on or off will be returned. Specify "on", "off" or "restart". By "restart", changes to alarm action and alarm trigger are enabled. By "on" after "restart", the alarm action starts working with the changed settings. If "restart" is not set after changes to alarm action and alarm trigger, APIs to get settings of alarm action and alarm trigger return previous values. Getting Alarm Action from VN-V25/26/225 Format /api/param?application.event(number).action Example When Getting action of alarm action No. 1 /api/param?application.event(1).action Example of Response application.event(1).action=mailto/somebody@somecompany.com/none/message&200 OK Interpretation Acquire the alarm action of the specified alarm action number. 5 alarm actions and 1 periodic FTP assigned to No.6 are available, so alarm action number can be 1 to 6. Note that alarm numbers are different from the alarm input pin numbers. A separate API (/api/param?application.event(number).status) is used to acquire the on/off status of the alarm action. When no action is specified, response below is returned. Example of Response application.event(1).action=&200 OK When sending mail is specified, mailto, mail address, JPEG attaching and the character string to be sent will be returned. When spaces are included in the character string, the character string with spaces will be returned. Segments are indicated by /. If JPEG attaching is on, "object01" is returned, and if JPEG attaching is off, "none" is returned. Example of Response application.event(1).action=mailto/somebody@somecompany.com/object01/message&2 00 OK 33