JVC VN-V25U manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of JVC VN-V25U, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of JVC VN-V25U one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of JVC VN-V25U. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of JVC VN-V25U should contain:
- informations concerning technical data of JVC VN-V25U
- name of the manufacturer and a year of construction of the JVC VN-V25U item
- rules of operation, control and maintenance of the JVC VN-V25U item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of JVC VN-V25U alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of JVC VN-V25U, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the JVC service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of JVC VN-V25U.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the JVC VN-V25U item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    IP Camera VN-V25U/26U   API GUIDE This document provides a description of protocols and API of VN-V25/26. Refer Readme file in the CD-ROM for updated informa tion. 2008.1.19. JVC LST0652-001A 1[...]

  • Page 2

    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 clie nt 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 "[...]

  • Page 3

    Custom Application Software Devel opment Guide VN-V25/26 can be used from a custom application software by utilizing the API and protocols for VN-V25/26. The following operations are possible. ● Getting JPEG from VN-V25/26. ● Getting MPEG-4 from VN-V25/26. ● Getting Alarm from VN-V25/26. ● Getting or changing VN-V25/26 settings. ● Sending[...]

  • Page 4

    Content 1. Getting JPEG from VN-V25/26 via HTTP 2. Getting MPEG-4 from VN-V25/26 via HTTP 3. API to Search VN-V25/26 4. Getting Alarm from VN-V25/26 via TCP 5. Using API that Requires Basic Authentication 6. API for Getting/Changing Parameters of VN-V25/26 7. Getting Audio from VN-V26 via HTTP 8. Sending Audio to VN-V26 via HTTP 9. List of Protocol[...]

  • Page 5

    This document describes APIs of VN-V25/26. Differences of VN-V25 and VN- V26 are as below.   Function      VN-V25      VN-V26 Low Lux Easy Day&Night B&W Mode (True Day&Night) Audio Server none Mic is embedded Audio Output none Audio Output Terminal 1. Getting JPEG from VN-V25/26 via HTTP 1.1. Basic Procedures 1) [...]

  • Page 6

    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 does not accept further API via current TCP that is used for JPEG transmission. To change pa rameter, disconnect current TCP to stop the JPEG transmission, connect new TCP, and send API with new parame [...]

  • Page 7

    Parameter Description encode For specifying compression format. For example, specify as encode=jpeg to ge t 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[...]

  • Page 8

    JPEG file from VN-V25/26 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 i[...]

  • Page 9

    Item names and values, excluding the version information that does not include =, are stored in the following forma t. Example: When width=640, the 13-byte area will be written as follows. 2. Getting MPEG-4 from VN-V25/26 via HTTP 2.1. Basic Procedures 1) The client establishes a TCP connection to port number 80. 2) The client sends out API. Exampl[...]

  • Page 10

    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 does not accept further API via current TCP that is used for JPEG transmission. To change pa rameter, disconnect current TCP to stop the MPEG-4 transmission, connect new TCP, and send API with new parame[...]

  • Page 11

    Content-Type: video/mp4v-es<CRLF> Date: Tue, 02 Oct 2007 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 has access restriction feature that enables to deny access from a specific IP a[...]

  • Page 12

    There are VOL, Userdata1, GOV and Userdata2 before each I-VOP.   Data Structure before I-VOP Item Note VOL VOL of MPEG-4 Video Userdata1 Reserved GOV GOV of MPEG-4 Video Userdata2 Userdata    Data Structure of Userdata2 Item Example Note Start Code 0x000001B2 Start code of userdata in M PEG-4 Video Product Name type = VN-V25U Product Name Tim[...]

  • Page 13

    2) When motion is detected from the video image of VN-V25/26, or when there are changes to the ala rm input (make or break), VN-V25/26 will send out alarm information in the following format. The first 2 lines indic ate the current alarm input status (make or break). The following 1 line indicates whether motion ha s been detected. peripheral.input[...]

  • Page 14

    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 a s text/plain. HTML response is returned when text/htm[...]

  • Page 15

    6. API for Getting/Changin g Parameters of VN-V25/26 This section provides description of APIs for getting/changing parameters of VN-V25/26. Make use of the AP I 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 [...]

  • Page 16

    /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 c an be set at a time is 15. Status settings, i.e. network.interface.status, ne twork.dns.status, network.ntp.status, etc., can not be acquired at a time. ● Response will be in the follow[...]

  • Page 17

    Example of response camera.id=Camera01&200 OK Sender Camera 01<somename@somecompany.com> Allowed users admin, operator, user Setting Camera ID in JPEG from VN-V25/26 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(c[...]

  • Page 18

    Getting Black level from VN-V25/26 Format /api/param?camera.image.pedestal Example of response camera.image.pedestal=50&200 OK Interpretation Acquire black level setting. Range of pedestal is be tween 0 to 100, and it is mapped to 3 internal levels. The larger the value, the brighter will be the black. Allowed users admin, operator, user Settin[...]

  • Page 19

    Getting Enhance Band from VN-V25/26 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. Allowed users admin, operator, user Setting E[...]

  • Page 20

    Example of response camera.image.color=50&200 OK Interpretation Acquire color level value. Range of color level is between 0 to 100. The va lue is mapped to 11 internal levels. The larger the value, the stronger will be the color. Allowed users admin, operator, user Setting Color Level for VN-V25/26 Format /api/param?camera.image.color=data Exa[...]

  • Page 21

    Allowed users admin, operator, user Setting Limit of Sense Up for VN-V2 5/26 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 [...]

  • Page 22

    Allowed users admin, operator, user Setting Shutter Speed for VN-V25/26 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 "[...]

  • Page 23

    Setting B&W Mode (True Day&Night) for VN-V26 (VN-V26 Only) Format /api/param?camera.image.true_daynight=data Example /api/param?camera.image.true_daynight=bw Example of response camera.image.true_daynight &202 Accepted(camera.status=save) Interpretation Change B&W mode setting. Specify "color", "bw", "autoH&[...]

  • Page 24

    Setting White Balance for VN-V25/26 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 specifie[...]

  • Page 25

    Interpretation Change B-gain white balance setting. Spe cify 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. Allowed users admin, operator Getting Back Light Compensation fr om VN-V25/26 Format /api/param[...]

  • Page 26

    Example of response encode(1).framesize=vga&200 OK Interpretation Acquire JPEG frame size setting. "vga" or "qvga" is returned. Allowed users admin, operator, user Setting JPEG Frame Size for VN-V25/26 Format /api/param?encode(1).framesize=data Example /api/param?encode(1).framesize=qvga Example of response encode(1).framesi[...]

  • Page 27

    Interpretation Acquire the file size setting of JPEG. If the re sponse is 40k for example, the setting is 40KB. Allowed users admin, operator, user Setting JPEG File Size Setting for VN-V25/26 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=sa[...]

  • Page 28

    Interpretation Change MPEG-4 frame size. Specify "vga" or "qvga". When frame size of JPEG and MPEG-4 are same, privacy masking is available for both compression. When the y 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[...]

  • Page 29

    The change is saved by the API, encode(2).status=save. If the change is not saved, the setting is restored by reboot. Allowed users admin, operator Getting MPEG-4 Frame Rate Setting from VN-V25/26 Format /api/param?encode(2).framerate Example of response encode(2).framerate=15&200 OK Interpretation Acquire frame rate of MPEG-4 encoding. Allowed[...]

  • Page 30

    Getting MPEG-4 Priority Setting from VN -V25/26 Format /api/param?encode(2).priority Example of response encode(2).priority=motion&200 OK Interpretation Acquire priority of MPEG-4 encoding. "motion" or "quality" is returned. Allowed users admin, operator, user Setting MPEG-4 Priority Setting for VN -V25/26 Format /api/param?[...]

  • Page 31

    Format /api/param?audio.input(1).gain Example of response audio.input(1).gain=32&200 OK Interpretation Acquire mic gain. "0", "20", "26" or "32" is returned. "32" mea sn 32 dB. Allowed users admin, operator, user Setting Mic Gain for VN-V26 Format /api/param?audio.input(1).gain=data Example /api[...]

  • Page 32

    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 a fter changes to alarm action and alarm trigger, APIs to get setting[...]

  • Page 33

    When sending via UDP is specified, udpto, IP address, port number and the character string to be sent will be returned. Segments are indicated by /. Example of Response application.event(1).action=udpto/10.0.0.100/20000/Message&200 OK When alarm output is specified, pinout, distinction between make/break (m1 or b1) and output time (millise cond[...]

  • Page 34

    Specify mailto, mail address, JPEG attach and the character string to be sent when sending via mail. Segments are indicated by /. The maximum number of characters for the mail address is 95. To attach JPEG, specify obje ct01. If none is specified instead of object01, JPEG is not attached to the mail. Number of the character string is from 1 to 127 [...]

  • Page 35

    Specify pinout, distinction between make/break (m1 or b1) and the time (millisec ond) when alarm output is specified. Segments are indicated by /. The time is 0 or from 100 to 5000. When the time is 0, alarm output doe s not come back to previous state. Setting Example /api/param?application.event(1).action=pinout/m1/1500 B&W mode is available [...]

  • Page 36

    range of 1 to 6. Note that alarm numbers are different from the alarm input pin numbers. Specify sunday, monday, tuesday, wednesday, thursday, friday or saturday for WeekOfDay. Specify on to enable the filter, off to disable the filter. The changes to filter of alarm action is saved by /api/param?application.eve nt(Number).status=restart. Allowed u[...]

  • Page 37

    Format /api/param?application.event(Number).filter(WeekOfDay).type Example When Getting Type of Sunday filter of Alarm No. 1 /api/param?application.event(1).filter(sunday).type Example of Response application.event(1).filter(sunday).type=mask&200 OK Interpretation Acquire filter type of the alarm ac tion for the specified alarm number. Up to 5 [...]

  • Page 38

    range of 1 to 6. Note that alarm numbers are different from the alarm input pin numbers. When only 1 Trigger is set: m1 will be returned in the case of make for alarm input 1. b1 will be returned in the case of break for alarm input 1. m2 will be returned in the case of make for alarm input 2. b2 will be returned in the case of break for alarm inpu[...]

  • Page 39

    Setting Example /api/param?application.event(1).trigger=v1 Interval can be set to periodic ftp assigned to event(6). Set "i1500" for interval 1500 seconds. Setting Example /api/param?application.event(6).trigger=i1500 When setting Trigger upon combining 2 alarm inputs, specify as m1(50)b2. The example above indicates tha t trigger will be[...]

  • Page 40

    Allowed users admin, operator, user Setting SMTP Server Port Number for VN -V25/26 Format /api/param?application.smtp.port=data Example /api/param?application.smtp.port=25 Example of Response application.smtp.port&200 OK Interpretation Change the port number setting of the SMTP server. Allowed users admin, operator Getting Sender Mail Address S[...]

  • Page 41

    Setting "POP before SMTP" for VN-V25 /26 Format /api/param?application.smtp.type=data Example /api/param?application.smtp.type=pbs Example of Response application.event.smtp.type&200 OK Interpretation Change the "POP before SMTP" setting. Specify as " simple" when setting to off and "pbs" when setting to [...]

  • Page 42

    Getting POP Server User Name Setting from VN-V2 5/26 Format /api/param?application.pop.user Example of Response application.pop.user=somename&200 OK Response example when setting field is left bla nk application.pop.user=&200 OK Interpretation Acquire the user name setting of the POP server. The user name is used as local part of sender mai[...]

  • Page 43

    Getting FTP Server Address Setting fro m VN-V25/26 Format /api/param?application.ftp.host Example of Response application.ftp.host=192.168.0.200&200 OK Response example when setting field is left bla nk application.ftp.host=&200 OK Interpretation Acquire the FTP server address setting used for FTP transmission via alarm. Allowed users admin[...]

  • Page 44

    Format /api/param?application.ftp.user Example of Response application.ftp.user=somename&200 OK Response example when setting field is left bla nk application.ftp.user=&200 OK Interpretation Acquire the FTP server user name setting used for FTP tra nsmission via alarm. Allowed users admin, operator Setting FTP Server User Name for VN-V25/26[...]

  • Page 45

    File Name Example Camera.jpg Allowed users admin, operator Setting File Naming of Periodic FTP for VN-V25/26 Format /api/param?application.ftp.naming=data Example /api/param?application.ftp.naming=type1 Example of Response application.ftp.naming&200 OK Interpretation Change file naming of periodic FTP. Specify " default", "type1&[...]

  • Page 46

    File Name Example Camera_20060207201315001.jpg When /api/param?application.ftp.naming_option is set to "type2", the file name is as ***.jpg a nd "***" can be set by this API. File Name Example Camera.jpg Allowed users admin, operator Getting Parameters of Pre/Post Recording from VN-V25/26 Format To get Frame Rate /api/param?appl[...]

  • Page 47

    Example of Response peripheral.output_pin.pin(1).duration=500&200 OK Interpretation Acquire the current alarm output duration in millise cond. Specify 1 or 2 to Number. When returned value is 0, it means infinite output. Allowed users admin, operator, user Setting Alarm Output Time for VN-V25/26 Format /api/param?peripheral.input_pin.pin(Number[...]

  • Page 48

    Example of response camera.private_mask.status=on&200 OK Interpretation Acquire the on/off status of privacy masking. Allowed users admin, operator, user Setting Privacy Masking to On/Off for VN-V2 5/26 Format /api/param?camera.private_mask.status=data Example of Response camera.private_mask.status&202 Accepted(camera.status=save) Interpret[...]

  • Page 49

    Setting Motion Detect to On/Off for VN-V2 5/26 Format /api/param?camera.detection.status=data Example of Response camera.detection.status&202 Accepted(camera.status=save) Interpretation Change the on/off status of motion detect. The change is saved by the API, camera.status=save. If the change is not saved, the setting is restored by reboot. Al[...]

  • Page 50

    camera.detection.area=01000000000000000080 Allowed users admin, operator, user Setting Motion Detect Mask for VN-V25/26 Format /api/param?camera.detection.area=data Example /api/param?camera.detection.area=00010203040506070809 Example of response camera .detection.area&202 Accepted(camera.status=save) Interpretation Change the motion detect mas[...]

  • Page 51

    Example of Response network.interface.dhcp.status&202 Accepted(network.interface.status=restart) Interpretation Change the DHCP setting. Specify "on" or "off". To validate the change, use "network.interface.status=restart" API that reboots VN-V25/26 in about 1 minute. Allowed user admin Getting IP Address from VN-V[...]

  • Page 52

    Allowed user admin Getting Default Gateway from VN-V25/26 Format /api/param?network.gateway Example of Response network.gateway=192.168.0.254&200 OK Interpretation Acquire the current default gateway. Allowed users admin, operator, user Setting Default Gateway for VN-V25/26 Format /api/param?network.gateway=data Example /api/param?network.gatew[...]

  • Page 53

    Interpretation Acquire the on/off status of the DNS server. Either on or off will be returned. Allowed users admin, operator, user Setting DNS Server Status to On/Off, o r Validate Changes for VN-V25/26 Format /api/param?network.dns.status=data Example /api/param?network.dns.status=on Example of Response network.dns.status&200 OK Interpretation[...]

  • Page 54

    Getting TOS Value of JPEG from VN-V25 /26 Format /api/param?network.interface.dscp.video.jpeg Example of Response network.interface.dscp.video.jpeg=56&200 OK Interpretation Acquire TOS that includes DHCP field for JP EG. Allowed users admin, operator, user Setting TOS Value of JPEG for VN-V25 /26 Format /api/param?network.interface.dscp.video.j[...]

  • Page 55

    Interpretation Acquire TOS that includes DHCP field for Audio. Allowed users admin, operator, user Setting TOS Value of Audio fo r VN-V26 (VN-V26 Only) Format /api/param?network.interface.dscp.audio=data Example /api/param?network.interface.dscp.audio=56 Example of Response network.interface.dscp.audio&202 Accepted(network.interface.status=rest[...]

  • Page 56

    Example of Response network.interface.ttl.multicast&202 Accepted(network.interface.status=restart) Interpretation Change TTL of multicast. The range of se t value is between 1 to 255. To validate the change, use "network.interface.status=restart" API. Allowed user admin Getting MTU Value VN-V25/26 Format /api/param?network.interface.m[...]

  • Page 57

    Allowed user admin 6.11. Protocol The APIs below are related to protocol. These are equivalent to the features on the Protocol pa ge of the WEB setting page. Refer to the instruction manual for details on the Protocol page. Getting Port Number of HTTP from VN-V25/26 Format /api/param?network.http.port Example of Response network.http.port=80&20[...]

  • Page 58

    Example /api/param?network.destination(1).status=start Example of Response network.destination(1).status&200 OK Interpretation Start/stop JPEG multicast stre aming, or save changes to multicast streaming settings. Specify "start", "stop" or "save". Changes of multicast streaming settings become valid by "save&[...]

  • Page 59

    "network.destination(1).host=save" API. After the save, start streaming by "network.destination(1).host=start" API. Allowed user admin Getting Frame Rate of JPEG Multicas t from VN-V25/26 Format /api/param?network.destination(1).framerate Example of Response network.destination(1).framerate=10&200 OK Interpretation Acquire J[...]

  • Page 60

    Getting MPEG-4 Multicast Address from VN-V25 /26 Format /api/param?network.destination(2).host Example of Response network.destination(2).host=225.0.1.2&200 OK Interpretation Acquire MPEG-4 multicast address. Allowed users admin, operator Setting MPEG-4 Multicast Address for VN-V25 /26 Format /api/param?network.destination(2).host=data Example [...]

  • Page 61

    Allowed users admin, operator Setting Status of Audio Multica st Streaming, or Save Changes for VN-V26 (VN-V26 Only) Format /api/param?network.destination(3).status=data Example /api/param?network.destination(3).status=start Example of Response network.destination(3).status&200 OK Interpretation Start/stop audio multicast streaming, or sa ve ch[...]

  • Page 62

    Format /api/param?network.destination(3).port=data Example /api/param?network.destination(3).port=59152 Example of Response network.destination(3).port&202 Accepted(network.destination(31).host=save) Interpretation Change audio multicast port number. Specify from 2 to 65534. To valida te the change, use "network.destination(3).host=save&qu[...]

  • Page 63

    network.access_control(stream_out).host(1)=10.0.0.0/24&200 OK The above example indicates that the range is between 10.0.0.0 to 10.0.0.255. There are also cases when FQDN instead of IP address is set. Example of Response 3 network.access_control(stream_out).host(1)=somedivision.somecompany.com&200 OK Allowed users admin, operator Setting IP[...]

  • Page 64

    "restart". as on or off. IP address of NTP server and access interval are validated by "restart". Allowed users admin, operator Getting NTP Server Address from VN-V25/ 26 Format /api/param?network.ntp.host Example of Response network.ntp.host=10.0.0.100&200 OK Interpretation Acquire IP address of NTP server. Either the IP ad[...]

  • Page 65

    Interpretation Acquire the unit of interval for accessing the NTP server. "min", "hour" or "day" is returned. Allowed users admin, operator, user Setting Access Interval Unit of SNTP for VN-V25/26 Format /api/param?network.ntp.unit=data Example /api/param?network.ntp.unit=day Example of Response network.ntp.unit&20[...]

  • Page 66

    GMT-11 Timezone that is 11 hours earlier tha n the Greenwich Mean Time. GMT-10 Timezone that is 10 hours earlier tha n the Greenwich Mean Time. Hawaii Same timezone as GMT-10 GMT-9:30 Timezone that is 9 hours and 30 minutes earlier than the Greenwich Mean Time. GMT-9 Timezone that is 9 hours earlier tha n the Greenwich Mean Time. Alaska Same timezo[...]

  • Page 67

    Japan Same timezone as GMT+9. GMT+10 Timezone that is 10 hours later tha n the Greenwich Mean Time. GMT+10:30 Timezone that is 10 hours and 30 minutes later than the Greenwich Mean Time. GMT+11 Timezone that is 11 hours later tha n the Greenwich Mean Time. GMT+11:30 Timezone that is 11 hours and 30 minutes later than the Greenwich Mean Time. GMT+12[...]

  • Page 68

    WEB setting page. Refer to the instruction manual for details on the Maintenance page. Initialization Format /api/param?system.status=initialize Example of Response system.status&200 OK Interpretation Restore all VN-V25/26 settings to factory defa ults. Upon doing so, all transmission services that are in progress will be terminated. Initializi[...]

  • Page 69

    Example of Response camera.identify=off&200 OK Interpretation Acquire LED blinking setting. "on" or "off" is returned. If thie is "on", LED is blinking. Allowed users admin, operator, user Setting LED blinking mode for VN-V2 5/26 Format /api/param?camera.identify=data Example /api/param?camera.identify=on Example o[...]

  • Page 70

    system.session.sending(01).to.session=http&200 OK system.session.sending(01).from.encode=jpeg&200 OK system.session.sending(01).from.framerate=1&200 OK system.session.sending(01).from.framesize=vga&200 OK In case of MPEG-4, system.session.sending(01).from.encode=mpeg4 is returned. In case of multicast, system.session.sending(01).to.[...]

  • Page 71

    Getting Firmware Revisions Format /api/param?system.software.revision Example of Response system.software.revision=1.00&200 OK Interpretation Acquire revisions of the firmware. Allowed users admin, operator, user 6 .20. Others These are APIs of features not found on the WEB setting page. Restart VN-V25/26 Format /api/param?system.status=restart[...]

  • Page 72

    Example /api/param?application.ftp.mode=active Example of Response application.ftp.mode&200 OK Interpretation Change the mode of FTP server that is used by alarm action. Se t active or passive. Default is active. active mode: Standard mode of FTP server. Also called PORT mode. TCP connection for data is established from 20 port of FTP server to[...]

  • Page 73

    3) VN-V26 returns HTTP response. Example HTTP/1.1 200 OK<CRLF> Connection: close<CRLF> Content-type: audio/ulaw<CRLF> Date: Tue, 02 Oct 2007 07:33:12 GMT<CRLF> Server: JVC VN-V26 Network Camera<CRLF> x-vnv26_response: encode=ulaw&lowdelay=1&assured=1<CRLF><CRLF> 4) VN-V26 sends out audio data after [...]

  • Page 74

    Unlike APIs for getting/setting parameters, Accept line is not required. Basic authentic ation is also not necessary. Example GET /api/audio?assured=1&lowdelay=1 HTTP/1.1<CRLF> Host: 192.168.0.2<CRLF><CRLF> Parameter value is indicated using =. Do not insert space before and after =. Example assured=1 Parameters are segmented [...]

  • Page 75

    Date: Tue, 02 Oct 2007 07:33:12 GMT<CRLF> Server: JVC VN-V26 Network Camera<CRLF> x-vnv26_response: encode=ulaw&lowdelay=1&assured=1<CRLF><CRLF> 7.4. Restrictions Access restriction VN-V26 has access restriction feature that enables to deny access from a specific IP address. If audio is requeste d from the IP address[...]

  • Page 76

    Example /api/receive?from=network&from.ip=10.0.0.100&from.protocol=tcp_passive&from.ip_translate =on&to=audio Specify the client IP address for from.ip=. When from.ip_translate is set to off, VN-V26 will standby to re ceive audio data from the IP address specified at from.ip. When from.ip_translate is set to on, VN-V26 will ignore f[...]

  • Page 77

    Timing of Data Sending 512 bytes, or in other words, 64 msec of audio data may be sent during each transmission. Send audio data at intervals as evenly as possible. A part of the data may be lost if audio data exceeding 2 seconds are sent to VN-V26 a t one time. 9. List of Protocols and Po rt Numbers Used with VN-V25/26 VN-V25/26 uses the following[...]

  • Page 78

    Specify 30, 25, 15, 10, 7.5, 6, 5, 3, 2, 1, -2, -3, -5, -10, -15, -20, or -30. To specify a frame rate lower than 1fps, use "-". For exmaple, specify -5 for 1/5fps. - DispTitle Set 1 to display Camera ID - DispTimeCode Set 1 to display Time - TimeFormat Set from 0 to 6 to select time format 0: YYYY/MM/DD HH:MM:SS.mm 1: YYYY/MM/DD HH:MM:SS[...]

  • Page 79

    </OBJECT> For VN-V26, modify CLASSID and CODEBASE lines as below. CLASSID="CLSID:00706 F54-DA22-419F-B20A-BBE 4E1C4E017" CODEBASE="./v26j.cab #version=1,0,1,0"> (2) Getting Multicast For VN-V25, execute Play method after setting properties below. <OBJECT ID="JPEGVi ewer" WIDTH = 640 HEIGHT= 480 CLASSID=&quo[...]

  • Page 80

    } function play_click( ) { JPEGViewer.Play (); } function still_clic k(obj) { if(obj.value== " Play "){ obj.value="Pause"; JPEGViewer.Se tStill(0); }else{ obj.value=" Pla y "; JPEGViewer.Se tStill(1); } } </SCRIPT> <BODY STYLE="font-f amily:sans-serif;" onBeforeUnload="stop_clic k()" onload[...]

  • Page 81

    (4) Seamless Switching Sample code of VisualBasic for switching to 192.168.0.200. Sleep over one fram e is required between methods. VNviewcnt1.Stop Sleep 100 VNviewcnt1.IP = "192.168.0.200" Sleep 100 VNviewcnt1.Play 10.4. HTML Example for MPEG-4 viewer (1) Getting MPEG-4 at display size QVGA For VN-V25, execute Play method after setting [...]

  • Page 82

    HEIGHT= 480 CLASSID="CLSID:B5F92E 48-2ABA-48AB-91A9-7B126691FE 2F" CODEBASE="./v25m.ca b#version=1,0,1,0"> <PARAM NAME="Mu ltiIP" VALUE="225.0.2.1"> <PARAM NAME="Mu ltiPort" VALUE="59152"> <PARAM NAME="DispWi dth" VALU E="640"> <PARAM NAME="[...]

  • Page 83

    MPEG4Viewer.Se tStill(1); } } </SCRIPT> <BODY STYLE="font-f amily:sans-serif;" onBeforeUnload="stop_clic k()" onload="p lay_click()"> <font size="6"> SAMPLE TEXT </font><br> <OBJECT ID= MPEG4Vi ewer" WIDTH = 641 HEIGHT= 481 CLASSID="CLSID:B5F92E 48-2ABA-48AB-91A9-7B1[...]

  • Page 84

    The built-in audio client of VN-V25/26 consists of ActiveX control. The ActiveX is availa ble for customized audio client. 11.1. Audio Monitor (1) Properties of ActiveX - StreamType Set 0 for HTTP, set 1 for multicast - IP IP address of VN-V26 in case of HTTP Multicast address in case of multicast - Port HTTP Port Number of VN-V26 in case of HTTP M[...]

  • Page 85

    } // Control for v olume function moni_mu teOff_click() { Monitor.Volume = monitor_volume*10; } function moni_mu teOn_click() { Monitor.Volume = 0; } function moni_up_ click() { if(monitor_volu me<10) monitor_volume++; Monitor.Volume = monitor_volume*10; } function moni_do wn_click() { if(monitor_volu me >0) monitor_volume --; Monitor.Volume [...]

  • Page 86

    </OBJECT> <FORM name="myForm"><D IV STYLE=" position: absolute; top:50px; lef t:10px;"> <br> SOUND MONITOR <!-- Cont rols --> <INPUT TYPE="BUTTON" VALUE=" Start " onClick="moni_play_ click(); "NAME="moni_start_ btn"> <INPUT TYPE="BUTTON" VAL[...]

  • Page 87

    (3) HTML Example for audio monitor <HTML> <HEAD> <META HTTP-EQUIV="Cont ent-Type" CONTENT="tex t/html; charset=euc -jp"> <TITLE>V26 Send AUDIO Sample</TITLE> <SCRIPT LANGUAGE ="JavaScript"> // Start audio send ing function play_click () { Sound.Play(); } // Stop audio send ing functi[...]

  • Page 88

    <PARAM NAME="Pa ssword" VALUE="vn-v 2x"> <!-- Pa ssword of operat or --> </OBJECT> <FORM name="myForm"><D IV STYLE=" position: absolute; top:50px; lef t:10px;"> <br> SOUND SEND <!- - Controls --> <INPUT TYPE="BUTTON" VALUE=" Start " onClick=&quo[...]